Skip to main content
Update a group’s mutable fields. You can change metadata.name and the models configuration; the hierarchy block (parent and enforcement mode) is immutable after creation. At least one field must be provided. The models list, when provided, replaces the group’s full model set with set semantics: slugs absent from the new list are removed, and slugs that are new to the group are added.

Authentication

string
required
Workspace API key with management scope, passed as Authorization: Api-Key $BASETEN_API_KEY (or Bearer; both are accepted).

Path parameters

string
required
Internal Baseten ID of the group to update.

Body

At least one of metadata or models must be provided.
object
Mutable group metadata.
  • name (string, optional, max length 255): Display name for the group.
metadata.external_entity_id cannot be changed. To re-key a group, delete it and create a fresh one.
object[]
Replacement model configuration. Same shape as the request body of Create a group. Replaces the existing list with set semantics.Passing an empty list ("models": []) clears every model from the group, which also removes model access from every key under it. Omit the field entirely to leave the model set unchanged.

Response

Same shape returned by Create a group, reflecting the post-update state. effective_models is recomputed for this group and propagated to descendants.

Errors