Skip to main content
PATCH
Update Role

Authorizations

Authorization
string
header
required

API key or JWT token

Path Parameters

id
string<uuid>
required

Role UUID

Body

application/json
name
string

New role name; omit to keep the current name.

description
string

New description; omit to keep the current description.

default_model_id
integer

Default LLM model id for members of this role; 0 clears it.

allowed_model_ids
integer[]

Restrict members of this role to these model ids.

allow_model_choice
boolean

Whether members of this role may pick a model per chat.

clear_allowed_model_ids
boolean

Set true to reset allowed_model_ids back to all models.

Response

The updated role

id
string
Example:

"80de0196-496f-44fe-9d4c-8013b3b44082"

name
string
Example:

"analyst"

description
string
is_system
boolean

True for the built-in roles (for example admin and member).

is_scim_managed
boolean
created_at
string

RFC 3339 timestamp

Example:

"2026-07-06T19:30:00Z"

updated_at
string

RFC 3339 timestamp

Example:

"2026-07-06T19:30:00Z"