DELETE
/
v2
/
accounts
/
{account_id}
/
api-keys
/
{key_id}
Delete API Key
curl --request DELETE \
  --url https://api.ahasend.com/v2/accounts/{account_id}/api-keys/{key_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Operation completed successfully"
}

Authorizations

Authorization
string
header
required

API key for authentication

Path Parameters

account_id
string<uuid>
required

Account ID

key_id
string<uuid>
required

API Key ID

Response

200
application/json

API key deleted successfully

The response is of type object.