Skip to main content
DELETE
/
v1
/
api_keys
/
{api_key_prefix}
cURL
curl --request DELETE \
--url https://api.baseten.co/v1/api_keys/{api_key_prefix} \
--header "Authorization: Bearer $BASETEN_API_KEY"
{
  "prefix": "<string>"
}

Authorizations

Authorization
string
header
required

Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.

Path Parameters

api_key_prefix
string
required

Response

200 - application/json

An API key tombstone.

prefix
string
required

Unique prefix of the API key