v2
latestOpenAPI 3.1.02026-07-26391214472.7 KBadmin-user-roles
Change User Role
Change a user's role with auto-transfer protocol.
If the new role's record type groups differ from the old role's, records owned in the removed groups are auto-transferred to the user's manager. Blocks with 409 if no manager exists.
Request body: {"new_role_id": int}
post/api/v1/admin/user-roles/users/{user_id}/change-role
Path parameters
user_idinteger required
Headers
authorizationstring nullable
X-API-Keystring nullable
Request body
object required
Response
Successful Response
object required