API keys
Revoke an API key
Revoke a federated API key by its prefix. Other keys under the same group are unaffected.
Revoke a single federated API key by its
prefix. Other keys under the same group are unaffected. Revocation is irreversible: the key can’t authenticate any further request and can’t be restored. To restore access for the same downstream customer, mint a new key under the same group with Create an API key.
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 owning group.
The key’s prefix.
Response
The prefix of the revoked key.
Errors
| Status | Meaning |
|---|---|
403 Forbidden | The group or key exists but isn’t in your workspace, or the caller doesn’t have management scope. |
404 Not Found | No group or key with these identifiers in your workspace, or the key has already been revoked. |
Previous
Billing webhooksPayload, header, and signature reference for Frontier Gateway billing webhooks.
Next