Update Access Role
PATCH
/api/organizations/{organization_id}/access-roles/{id}
permissions
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/api/organizations/organization_uuid_string/access-roles/access_role_uuid_string' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Senior Manager",
"permissions": [
"SHIFT_READ",
"SHIFT_WRITE",
"LOCATION_READ"
]
}'
Response Response Example
{
"id": "access_role_uuid_string",
"name": "Senior Manager",
"permissions": [
"SHIFT_READ",
"SHIFT_WRITE",
"LOCATION_READ"
]
}
Request
Path Params
organization_id
string
required
Example:
organization_uuid_string
id
string
required
Example:
access_role_uuid_string
Body Params application/json