Skip to main content
PUT
Update a member's roles

Authorizations

X-Auth-Token
string
header
required

API key created in the dashboard or via POST /v1/api/api-keys. Keys are prefixed pn_ and do not expire until revoked.

Body

application/json
id
integer
required

User ID

roles
string
required

Comma-separated list of scopes: READ_MEDIA, UPDATE_MEDIA, READ_ANALYTICS, READ_BILLING, READ_SETTINGS, UPDATE_SETTINGS, UPDATE_USERS

Example:

"READ_MEDIA,UPDATE_MEDIA,READ_ANALYTICS"

Response

Roles updated

message
string
Example:

"success"