Skip to main content
DELETE
/
api
/
v0
/
auth
/
apikeys
/
{id}
/
delete api key
curl --request DELETE \
  --url https://console.vast.ai/api/v0/auth/apikeys/{id}/ \
  --header 'Authorization: Bearer <token>'
"Successfully Deleted API Key"

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

ID of the API key to delete

Required range: x >= 1

Response

API key successfully deleted

The response is of type string.

Example:

"Successfully Deleted API Key"