userRoles
List user roles
Returns a list of all user roles defined in the system, including built-in and custom roles. Use this endpoint to enumerate available roles for assignment or display.
List user roles
Submits a request to retrieve all user roles defined in the system. Returns a GetUserRolesResponse containing the available roles.
Adds a custom user role
Creates a new custom user role with the specified name, display name, permissions, and read-only flag. Returns the created role details. The Name defaults to DisplayName if not supplied.
Adds a custom user role
Submits a request to create a new custom user role with the specified properties. Returns the created role details on success.
Update a user role
Updates the display name, external name, and associated permissions for the specified user role. Identify the role by its internal Name and supply the updated fields as query parameters.
Update a user role
Submits updated properties for the specified user role in the request body. Returns the updated role details on success.
Clone an existing user role
Creates a copy of an existing user role with a new name, preserving all permissions from the source role. Returns the cloned role details on success.
Clone an existing user role
Submits a request to create a copy of an existing user role, preserving all permissions from the source role. Returns the cloned role details on success.
Delete a user role
Permanently deletes the user role identified by its internal name. Returns 204 No Content on success. Built-in roles cannot be deleted.
Delete a user role
Submits a request to permanently delete the user role identified by its internal name. Returns 204 No Content on success.