Skip to main content
DELETE
/
api
/
customers
/
{id}
Delete a customer
curl --request DELETE \
  --url https://api.example.com/api/customers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Enter your JWT token in the format 'Bearer '

Path Parameters

id
integer
required

Customer ID

Response

Customer deleted successfully

message
string