To delete a customer, use the following request:
DELETE /customers/id
where:
- id (integer) is the customer ID.
Example request
DELETE /customers/1 HTTP/1.1 Authorization: Bearer f794846b7c26621688e1e06164975b4eae8ce2f6
Response
The LAC REST API returns the standard HTTP response codes described in the following table.
Status Code | Description |
---|---|
204 No Content | Customer deleted. |
403 Forbidden | Invalid or expired token provided. |
404 Not Found | Customer id does not exist. |
Example Response
HTTP/1.1 204 No Content