Skip to main content
POST
/
api
/
canary
/
authentication
/
api-key
/
delete
Delete API Key
curl --request POST \
  --url https://api.cashful.africa/api/canary/authentication/api-key/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "keyId": "key_12345"
}
'
{
  "success": {
    "success": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
keyId
string
required

The ID of the API key to delete

Example:

"key_12345"

Response

API key deleted successfully

success
boolean
required

API key deleted successfully

Example:
{ "success": true }