Permissions

Manage user or token permissions

put

Manage user or token permissions. For this endpoint, you should send an array of objects (in JSON format) as the body of the request. If you send a combination of resource_type and resource_id that already exists, the permission is updated. If the combination doesn't exist, the permission is created.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
account_access_idinteger · int64 · min: 1Required

Unique account access ID

Example: 5142
Body
Responses
put
/api/accounts/{account_id}/account_accesses/{account_access_id}/permissions/bulk

Get resources

get

Get all resources in your account (Inboxes, Projects, Domains, Email Campaigns, Billing and Account itself) to which the token has admin access.

Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
account_idinteger · int64 · min: 1Required

Unique account ID

Example: 3229
Responses
get
/api/accounts/{account_id}/permissions/resources

Last updated

Was this helpful?