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 URL
    https://api.ninjavan.co (the document declares no server; this is the origin it was published from)
  • URL
    https://api.ninjavan.co/api/v1/admin/user-roles/users/{user_id}/change-role
  • Auth
    none 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.