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