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