Skip to main content
POST
/
api
/
canary
/
authentication
/
organization
/
delete
Delete Organization
curl --request POST \
  --url https://api.cashful.africa/api/canary/authentication/organization/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "organizationId": "org_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
organizationId
string
required

The ID of the organization to delete

Example:

"org_12345"

Response

Organization deleted successfully

success
boolean
required

Organization deleted successfully

Example:
{ "success": true }