Add Roles to User on Tenant

 
MethodURIDescription
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)

 Request

This table shows the header parameters for the add roles to user on tenant request:

NameTypeDescription

X-Auth-Token

​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:

NameTypeDescription

{tenantId}

​String

The tenant ID.

{userId}

​String

The user ID.

{roleId}

​String

The role ID.

This operation does not require a request body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...