AdminRoleUpdateResponse UpdateRole(ctx, roleID, adminRoleUpdateRequest, optional)
This updates a role
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| roleID | string | ID of Role | |
| adminRoleUpdateRequest | AdminRoleUpdateRequest | The input for updateRole | |
| optional | *UpdateRoleOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a UpdateRoleOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
Return type
AdminRoleUpdateResponse
Authorization
api_key
- Content-Type: application/json
- Accept: application/json