Roles

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

MethodURIDescription
GET/v2.0/users/OS-KSADM/roles​{?serviceId,​marker,​limit}

List roles.

GET/v2.0/users/OS-KSADM/roles/​{?name}

Get a role by name.

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

Get role by role ID.

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

Return global roles for a specific user.

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

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

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

Get information about a specified role assigned to a specified user.

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

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



loading table of contents...