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
}
}Delete an 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
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the API key to delete
"key_12345"
API key deleted successfully
API key deleted successfully
{ "success": true }