Update User Role (Admin)
PATCH
/users/{accountId}/role
Updates a user's role in the system (e.g., admin, user). Administrators cannot change their own role. Admin access required.
Authorizations
BearerAuth
Enter your session token to authenticate API requests
TypeHTTP (bearer)
Parameters
Path Parameters
accountId*
The unique identifier of the user account
Typestring
RequiredRequest Body
application/json
JSON
{
"role": "string"
}
Responses
Admin access required
application/json
JSON
{
}