admin-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
Request
- Base URLhttps://api.ninjavan.co (the document declares no server; this is the origin it was published from)
- URLhttps://api.ninjavan.co/api/v1/admin/user-roles/users/{user_id}/change-role
- Authnone declared
Path parameters
user_idinteger required
Headers
authorizationstring nullable
X-API-Keystring nullable
Request body
object required
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 10 revisions of this API.