Deletes an API key by prefix and returns info about the API key.
cURL
curl --request DELETE \ --url https://api.baseten.co/v1/api_keys/{api_key_prefix} \ --header "Authorization: Api-Key $BASETEN_API_KEY"
{ "prefix": "<string>" }
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Authorization: Api-Key <Your_Api_Key>
An API key tombstone.
Was this page helpful?