Add

Add a new role

Add

POST https://{{account_id}}.acquire.io/api/v1/account/role

Add a new role. The body must contain the keys roleName and permissions.

Headers

Request Body

{
  "data": {
    "roleName": "MyMaster",
    "meta": {},
    "permissionType": {},
    "id": 3
  }
}

Body(raw)

{
    "roleName" : "Agent",
    "permissions" : {
        "chat": ["cobrowse"]
    }
}

Last updated