Skip to main content
PUT

Headers

string
required
API key used for authenticating requests to the API.
string
required
Workspace identifier for the API.

Path Parameters

string
required
The unique identifier of the role to update.

Request Body

string
Updated name for the role.
string
Updated description for the role.
array of strings
Updated array of permission ID strings. Each item must be a string (e.g., "agent_view"). Use the List Permissions endpoint to retrieve available permission IDs.
array
Updated array of user IDs to assign.

Response Fields

string
Unique identifier for the role.
string
Updated name of the role.
string
Updated description of the role.
array
Updated permissions array.