Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To delete a customer, use the following request:

Panel

DELETE

/customers/

1 HTTP/1.1 Authorization: Bearer f794846b7c26621688e1e06164975b4eae8ce2f6

Request Parameters

...

id

where:

  • id (integer) is the customer ID.

Example request

Code Block
languagejs
DELETE /customers/1 HTTP/1.1
Authorization: Bearer f794846b7c26621688e1e06164975b4eae8ce2f6

...

The LAC REST API returns the standard HTTP response codes described in the following table.

Status CodeDescription
204 No ContentCustomer deleted200 OKActivation counters object.
403 ForbiddenInvalid or expired token provided.
404 Not FoundCustomer id does not exist.

...