Skip to main content
PUT

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

role
string
required

Role UUID or key

Body

application/json
name
string
Maximum string length: 255
Example:

"Senior Loop Agent"

key
string
Maximum string length: 255
Example:

"senior_loop_agent"

product_key
string

Optional; when given, scopes must be supplied and must belong to this product

Example:

"loop"

scopes
string[]

The role's complete new scope set, all from one product

Response

Role updated

success
boolean
Example:

true

message
string
Example:

"Workspace role updated"

data
object