Roles

The operations described in this section allow clients to view and manage roles and user role assignments.

MethodURIDescription
GET/v2.0/OS-KSADM/roles

Lists roles.

GET/v2.0/OS-KSADM/roles/{roleId}

Gets a role by role ID.

GET/v2.0/users/{userId}/roles/OS-KSADM

Returns global roles for a specific user.

PUT/v2.0/users/{userId}/roles/OS-KSADM/{roleid}

Adds a specific multiproduct or custom (product-specific) role to a user.

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

Deletes a multiproduct or custom (product-specific) role from a user.



loading table of contents...