Workspace Roles
Update a role
Only the supplied fields change. Sending scopes replaces the role’s whole scope set - including moving it to another product, as long as every scope in the new set comes from that one product. Send an empty array to strip the role of all access. Members holding the role pick the change up immediately. PATCH behaves identically.
PUT
Authorizations
Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"
Path Parameters
Role UUID or key
Body
application/json
Maximum string length:
255Example:
"Senior Loop Agent"
Maximum string length:
255Example:
"senior_loop_agent"
Optional; when given, scopes must be supplied and must belong to this product
Example:
"loop"
The role's complete new scope set, all from one product