Assign RBAC role
PUT/auth/users/:user_id/assign-roles
Assigns a Role-Based Access Control (RBAC) role to a member of your organization, granting them the resource actions permitted by the role's permissions and policies. Include the user ID in the path and the RBAC role ID in the request body.
- To obtain the user ID, call the Retrieve organization information endpoint.
- To obtain the RBAC role ID, call the List RBAC roles endpoint.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Success
Bad Request
Unauthorized
Not Found
Internal Server Error
Was this page helpful?