Roles
List all available permissions
Returns all permission definitions that can be assigned to roles. Requires manage:roles permission.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
List organization roles
Returns all roles for the current organization including permissions and member counts.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Create a custom role
Creates a new custom role with the specified permissions. Requires manage:roles permission.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredRole details
descriptionstringnamestringpermissionIdsarray<string>Created
Delete a role
Deletes a role. Cannot delete the Owner role or roles with assigned members. Requires manage:roles permission.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringRole UUID
OK
Update a role
Updates a role's name, description, and permissions. Requires manage:roles permission.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredUpdated role details
descriptionstringnamestringpermissionIdsarray<string>Path Parameters
idRequiredstringRole UUID
OK