Delete a specified API key by including the ID of the API key in the endpoint path. To retrieve your API key IDs, see the List API Keys API.
DELETE {API_URL}/api-keys/{id}
DELETE
{API_URL}/api-keys/{id}
id
Required
int
The unique identifier of the API key to be deleted
dict
Empty data object
data
string
Indicates the result of the request to delete an API key. success signifies success, while failed indicates an error.
success
failed
A description of the status of the request.
Last updated 1 year ago
curl -X DELETE '{API_URL}/api-keys/5' \ -H 'Authorization: Bearer {TOKEN/KEY}'
{ "data": {}, "message": "API key successfully deleted", "status": "success" }