Add a new role
Last updated 3 years ago
POST https://{{account_id}}.acquire.io/api/v1/account/role
POST
https://{{account_id}}.acquire.io/api/v1/account/role
Add a new role. The body must contain the keys roleName and permissions.
roleName
permissions
{ "data": { "roleName": "MyMaster", "meta": {}, "permissionType": {}, "id": 3 } }
{ "roleName" : "Agent", "permissions" : { "chat": ["cobrowse"] } }
Authorization
string
Bearer {{API_KEY}}
object
Permissions object. Give permission to access features in the platform.
Name of the role