Update User Role Assignments

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

Assigns the specified roles to the user. Any roles not specified in the request will be unassigned from the user.

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

Query Params
boolean
Defaults to false

Boolean indicating whether partial failures are allowed. If set to true the request will succeed as long as one of the
specified role assignments succeed. The response status in this case will be a 200 and the response body will contain a list of any role
assignment failures that occurred. If set to false all the specified role assignments must succeed in order for the request
to succeed. In this case the response status will be a 204.

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

204

No Content

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