Skip to main content
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

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 owning group.
string
required
The key’s prefix.

Response

string
required
The prefix of the revoked key.

Errors