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.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Admin role update request body. Both email and role_id are required.

string
required

The email address of the admin user

string
required

The unique identifier of the role to assign

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json