curl -X DELETE https://api.sabaothcloud.com/api/v1/api-keys/KEY_ID \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
(no content)
{
"error": "NotFound",
"message": "API key not found"
}
API Keys
Delete an API Key
Remove an API key permanently
DELETE
/
api
/
v1
/
api-keys
/
{id}
curl -X DELETE https://api.sabaothcloud.com/api/v1/api-keys/KEY_ID \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
(no content)
{
"error": "NotFound",
"message": "API key not found"
}
Deletes a key. It stops working immediately and is removed from the list. This can’t be undone.
To stop a key working but keep a record of it, revoke it instead.
Path parameters
string
required
The key’s ID.
Response
204 No Content
curl -X DELETE https://api.sabaothcloud.com/api/v1/api-keys/KEY_ID \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
(no content)
{
"error": "NotFound",
"message": "API key not found"
}