Error
A valid request URL is required to generate request examples{
"message": "<string>"
}Users
Assign role to user
Assigns an RBAC role to a user. This also auto-assigns the default access profile for the new role and reloads the RBAC permission cache.
PUT
/
api
/
users
/
{id}
/
role
Error
A valid request URL is required to generate request examples{
"message": "<string>"
}Authorizations
Management API authentication for /api/* endpoints. Use the Authorization header with Bearer <API key>.
Virtual keys, dashboard/user/session tokens, and x-api-key headers are not supported on management APIs.
Path Parameters
User ID
Body
application/json
ID of the RBAC role to assign
Response
Role assigned successfully
Simple message response
Was this page helpful?
⌘I

