Groups
Update a group
Update a Frontier Gateway group’s display name or model configuration. Hierarchy and enforcement mode are immutable.
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
Workspace API key with management scope, passed as
Authorization: Api-Key $BASETEN_API_KEY (or Bearer; both are accepted).Path parameters
Internal Baseten ID of the group to update.
Body
At least one ofmetadata or models must be provided.
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.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
| Status | Meaning |
|---|---|
400 Bad Request | Empty body, invalid limit shape, or (in a cascading hierarchy) a change that would put this group above an ancestor or below an existing descendant. Lower descendants before lowering the parent, and raise ancestors before raising descendants. See Cascading mode. |
403 Forbidden | The group exists but isn’t in your workspace, or the caller doesn’t have management scope. |
404 Not Found | No group with this id in your workspace, or it has been deleted. |
Previous
Delete groupDelete a Frontier Gateway group, recursively remove its descendants, and revoke every key in the subtree.
Next