PUT
/
accounts
/
{id}
/
role

Authorizations

Authorization
string
headerrequired

Value for the Authorization header parameter.

Path Parameters

id
string
required

Account identifier

Body

role
enum<string> | null
required

The role to set for the account.

Available options:
read-only,
administrator,
account

Response

200 - application/json
id
string
user
object
role
enum<string>
default: administrator
Available options:
administrator,
account,
read-only
createdAt
string
deactivated
boolean