POST
/
api
/
b
/
role
/
{role_id}
/
permissions
/
change
Change Permissions for Role
curl --request POST \
  --url https://platform.grorapid.com/api/b/role/{role_id}/permissions/change \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "buuid": "<buuid>",
  "added": [
    "contact-get-all"
  ],
  "removed": []
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

role_id
string
required

Body

application/json
buuid
string
required
added
string[]
required
removed
any[]
required

Response

201 - application/json

Successful response.

The response is of type object.