User Management API

/api/space/user-management/users/{id}/roles

The following operations are supported on this resource:

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


This API accepts a user ID as an argument and returns a Roles transfer object that contains information about the retrieved roles.

Access Control

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


Example Usage

GET /api/space/user-management/users/{id}/roles


Parameters

NameTypeURI TypeDescriptionRequired
idintPathThe ID of the user whose roles are to be retrieved. Y

Content Types


POST /api/space/user-management/users/{id}/roles (v1)


This API is used to add roles to a user.

Access Control

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


Example Usage

POST /api/space/user-management/users/{id}/roles


Parameters

NameTypeURI TypeDescriptionRequired
idIntegerPathThe ID of the user to whom roles are to be added. Y

Content Types