User Management API

/api/space/user-management/users/{uid}/roles/{rid}

The following operations are supported on this resource:

GET /api/space/user-management/users/{uid}/roles/{rid} (v1)


This API accepts a role ID and a user ID as arguments and returns a Role transfer object that contains data for the retrieved role.

Access Control

The following capabilities are required to access this API:
"ReadRole"


Example Usage

GET /api/space/user-management/users/{uid}/roles/{rid}


Parameters

NameTypeURI TypeDescriptionRequired
uidintPathThe ID of the user whose role is to be retrieved. Y
ridintPathThe ID of the role for which information is to be retrieved. Y

Content Types


DELETE /api/space/user-management/users/{uid}/roles/{rid} (v1)


This API accepts a role ID and a user ID as arguments and deletes the role that maps to that user.

Access Control

The following capabilities are required to access this API:
"ModifyUser"


Example Usage

DELETE /api/space/user-management/users/{uid}/roles/{rid}


Parameters

NameTypeURI TypeDescriptionRequired
uidintPathThe user ID of the user for which the role is to be deleted. Y
ridintPathThe role ID of the role to be deleted from the user. Y