Method | URI | Description |
---|---|---|
PUT | /v2.0/users/{userId}/roles/OS-KSADM/{roleId} | Adds a specific global role to a user. |
Normal response codes: 201
Error response codes: identityFault (400, 500, …), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503), badMediaType (415), itemNotFound (404)
This table shows the header parameters for the add global role to user request:
Name | Type | Description |
---|---|---|
| String (Required) | A valid authentication token for an administrative user. |
This table shows the URI parameters for the add global role to user request:
Name | Type | Description |
---|---|---|
| String | The ID of the user for which you want to perform the request. |
| Int | The ID of the role that you want to add or delete. |
This operation does not require a request body.