Last updated 3 years ago
PUT https://{{account_id}}.acquire.io/api/v1/account/role/{{roleId}}
PUT
https://{{account_id}}.acquire.io/api/v1/account/role/{{roleId}}
Update a role. The roleId must be passed in to the endpoint as a path parameter.
roleId
integer
ID of the role to be updated
Authorization
string
Bearer {{API_KEY}}
permissions
object
Permissions object. The features the role will have access to.
roleName
Name of the role
{ "data": { "id": 3, "roleName": "Higher Master", "permissions": [], "permissionType": {}, "meta": {}, "users": [] } }
{ "roleName": "Admin", "permissions": {}, "meta": {}, "additionalProp1": {} }
Update a role