Returns all users of the role with the specified id.

GET

Returns all users of the role with the specified id.

Required Permissions: The user must be an admin or have workspace-manage-config:read permissions.

Path parameters

roleIdstringRequired
The id of the role.

Query parameters

pageintegerOptional
Page number for pagination
pageSizeintegerOptional
Number of items per page
orderbystringOptional
The properties to order by
filterbystringOptional
The filter expression to filter by

Response

This endpoint returns a list of objects
userIdstringOptional
The id of the user to add to the role.
isDeactivatedbooleanOptional
Whether the user is deactivated in this role.
roleIdstringOptional
The id of the role the user is assigned to.