Logo PopinaPopina API

Delete a customer

Delete a customer based on the id provided.

DELETE/v1/customers/{id}
authorization<token>

Use device JWT token

In: header

Path Parameters

idstring

Customer id

Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "http://localhost:4012/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "message": "Customer 9f8e7d6c-5b4a-4c2d-8e0f-9a8b7c6d5e4f deleted successfully"
}
{
  "message": "string",
  "code": "INSUFFICIENT_BALANCE",
  "meta": {
    "property1": null,
    "property2": null
  }
}
{
  "message": "string",
  "code": "INSUFFICIENT_BALANCE",
  "meta": {
    "property1": null,
    "property2": null
  }
}