Assign Roles to User

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Assigns the specified roles to the user. This API supports partial failures, so some assignments may succeed while others may fail. If a partial failure occurs, then it will be added to the failures field in the response.

Required Permissions

Below is the list of required permissions needed to interact with this API. For each permission, the allowed permission boundaries are also specified.

PermissionBoundaryDescription
role:manage-assignmentsApplicationThe subject can perform this request if the user specified in the URL path is associated with the subject's application.
TenantThe subject can perform this request if the user specified in the URL path belongs to the subject's associated tenant.
Tenant Inclusion ListThe subject can perform this request if the user specified in the URL path belongs to a tenant included in the tenant inclusion list.
Tenant Exclusion ListThe subject can perform this request if the user specified in the URL path belongs to the subject’s associated application and isn't a member of a tenant on the exclusion list.

Path Params
string
required
length between 1 and 26

User Id

Body Params

Role Assignment Request

Role Assignment Request

roleIds
array of strings
required
length ≤ 5

List of role IDs that should be assigned to either a user or client.

roleIds*
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json