Add or Update Admin Role

This endpoint allows you to add a new admin or update the role of an existing admin user by providing the user's email and the new role_id.

Supported Fields Table:

FieldTypeDescription / Allowed Values
emailstringThe email address of the admin user
role_idstringThe unique identifier of the role to assign

Notes:

  • If the user does not exist as an admin, they will be added as a new admin.
  • If the user already exists, their role will be updated.
Language
Credentials
Header
Click Try It! to start a request and see the response here!