Delete Global Role from User

 
MethodURIDescription
DELETE/v2.0/users/{userId}/roles/OS-KSADM/{roleId}

Deletes a specific global role from a user.

Normal response codes: 204

Error response codes: identityFault (400, 500, ), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503), itemNotFound (404)

 Request

This table shows the header parameters for the delete global role from user request:

NameTypeDescription

X-Auth-Token

​String

(Required)

A valid authentication token for an administrative user.

This table shows the URI parameters for the delete global role from user request:

NameTypeDescription

{userId}

​String

The ID of the user for which you want to perform the request.

{roleId}

​Int

The ID of the role that you want to add or delete.

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...