Skip to main content
DELETE
/
customers
/
{id}
cURL
curl -X DELETE \
 /customers/{id} \
 --header "Authorization: Bearer <token>"
{
  "type": "https://tools.ietf.org/html/rfc2616#section-10",
  "detail": "The customer could not be deleted due missing preconditions.",
  "violations": [
    {
      "propertyPath": "",
      "message": "The customer has active invoices.",
      "code": "customer_has_invoices"
    }
  ]
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

Customer identifier

Response

The customer was deleted.