Method | URI | Description |
---|---|---|
PUT | /v2.0/tenants/{tenantId}/users/{userId}/roles/OS-KSADM/{roleId} | Adds a specified role to a user for a tenant. |
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 roles to user on tenant request:
Name | Type | Description |
---|---|---|
| String (Required) | A valid authentication token for an administrative user. |
This table shows the URI parameters for the add roles to user on tenant request:
Name | Type | Description |
---|---|---|
| String | The tenant ID. |
| String | The user ID. |
| String | The role ID. |
This operation does not require a request body.