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

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also 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