Set Admin Role for a User

POST {{baseUrl}}/1/admin/users/admin-role?company_id=dolore&user_id=dolore&admin_role_id=dolore

Updates a given user's admin role.

Request Params

KeyDatatypeRequiredDescription
company_idstring(Required) The ID of the company to use.
user_idstring(Required) The ID of user whose admin role will be set.
admin_role_idstring(Required) The ID of the admin role to set the user to. "1" is the ID for the
Site Admin role and "2" is the ID for the Super Admin role. Any
other ID will be considered a custom admin role.

RESPONSES

status: OK

{}