v1

latestOpenAPI 3.0.3Apache 2.02026-07-1710047196.1 KB
roles

Update permissions for a specific role

Updates the permissions for a specific role within an organization.

patch/organisations/{org_id}/roles/{role_id}/permissions

Path parameters

org_idstring uuid required

ID of the organization containing the role.

role_idstring uuid required

ID of the role to update permissions for.

Request body

categorystring required

Category of permissions being updated.

permission_listobject required

Object where keys are permission names and values are boolean indicating whether the permission is granted.

Response

Permissions updated successfully

statusstring
status_codeinteger
messagestring