Groups
Delete a group
Delete a Frontier Gateway group, recursively remove its descendants, and revoke every key in the subtree.
Delete a group. The call removes the group, revokes every API key in the group, and recursively removes every descendant group and their keys. The group’s
Descendant groups are soft-deleted in the same transaction but aren’t included in the response body. Their keys are revoked and their model attachments are removed.
external_entity_id is freed for reuse: you can POST /v1/gateway/groups again with the same value to provision a fresh group.
To revoke a single key without churning the whole group, use Revoke an API key instead.
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 delete.
Response
Internal ID of the deleted group.
Group identity at the time of deletion. Same shape as on Create a group.
RFC 3339 UTC timestamp of deletion.
Errors
| Status | Meaning |
|---|---|
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 already been deleted. |
Previous
Create API keyMint a federated API key under a Frontier Gateway group. The plaintext key is returned exactly once.
Next