Skip to main content
DELETE
/
v1
/
api-keys
/
{id}
Delete API Key
curl --request DELETE \
  --url https://api.example.com/v1/api-keys/{id}
id
string
required
The ID of the API key to delete.

Request

cURL
curl -X DELETE https://www.unosend.co/api/v1/api-keys/key_123 \
  -H "Authorization: Bearer un_xxxxxxxxxx"

Response

200
{
  "id": "key_123",
  "deleted": true
}
Once deleted, the API key cannot be recovered. Any applications using this key will no longer be able to authenticate.