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}
| Parameters | Requirements | Type | Description |
|---|---|---|---|
| id | Required | int |
The unique identifier of the API key to be deleted |
Empty data object
Indicates the result of the request to delete an API key. success signifies success, while failed indicates an error.
A description of the status of the request.
curl -X DELETE '{API_URL}/api-keys/5' \
-H 'Authorization: Bearer {TOKEN/KEY}'{
"data": {},
"message": "API key successfully deleted",
"status": "success"
}