How to Remove Customer Account

This call permanently deletes the signed-in customer's account and personal data. It cannot be undone, so ask the customer to confirm before you send it.

DELETE /customer-accounts/{customer_account_id}


Request

Attribute Type Example Value Description
Authorization HTTP header string "Bearer {customer_account_token}" JWT Token of Customer Account
{
  "method": "delete",
  "url": "https://api-public-demo.menu.app/api/customer-accounts/{customer_account_id}",
  "headers": {
    "X-Request-ID": "69da3547-204b-4093-a225-54e084c24215",
    "Application": "f3a90488ffee32c3acb6fcd0ca417cf6",
    "Api-Version": "<current-release-version>",
    "Content-Type": "application/json",
    "Device-UUID": "1287796",
    "Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2FwaS1wdWJsaWMtcGxheWdyb3VuZC5tZW51LmFwcC9hcGkvY3VzdG9tZXJzL3JlZnJlc2giLCJpYXQiOjE2OTMyMDcyMDUsImV4cCI6MTY5MzIxMTgwOSwibmJmIjoxNjkzMjA4MjA5LCJqdGkiOiJxcFluSXQxSVVZOEFnSnVqIiwic2V0UmVmcmVzaFRUTCI6MjYyODAwMCwic3ViIjoiNTA5MDk3NiIsInBydiI6ImNjMzI5MjFhMTU0ODBhMTE3ZDliYmM3MmMwZTEyNTZhNjg1MjQ1OGIiLCJhcHBsaWNhdGlvbl9pZCI6MjE0NCwic2Vzc2lvbl9pZCI6MjgzNTB9.BHtPDBaiMtWZyi99_dZYnDgSJzsHuMtoIbDiF0z9gco"

  }
  
}

Response

{
  "status": "OK",
  "code": 200
}

Customer account deletion process can last up to one minute.