> For the complete documentation index, see [llms.txt](https://the-wishlist-documentation.gitbook.io/the-wishlist-documentation-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://the-wishlist-documentation.gitbook.io/the-wishlist-documentation-docs/customer-rest-api/customers/deletecustomerbyid.md).

# deleteCustomerbyID

Delete a customer using the TWC unique customer identifier.

This endpoint has been depreciated as you can use the api/v2/customers endpoint with either ***customerRef*** or customer ***id*** as query parameters

```json
{"openapi":"3.0.3","info":{"title":"Customer REST API","version":"0.0.1"},"tags":[{"name":"customers","description":"Create, read, update and delete customers, and look them up by id, reference, email or alternate reference."}],"servers":[{"url":"https://api.au-aws.thewishlist.io/services/customerservice"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer","description":"OAuth2 bearer token issued by TWC Keycloak, sent as `Bearer <token>`."}},"parameters":{"X-TWC-Tenant-2":{"name":"X-TWC-Tenant","in":"header","required":false,"description":"tenant-key (Your shop's tenant name in TWC )","schema":{"type":"string"}}}},"paths":{"/api/v2/customers/{id}":{"delete":{"summary":"deleteCustomerbyID","operationId":"deleteCustomerByIDUsingDELETE","parameters":[{"name":"id","in":"path","description":"id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/X-TWC-Tenant-2"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":true,"description":"Delete a customer using the TWC unique customer identifier.  \n\nThis endpoint has been depreciated as you can use the api/v2/customers endpoint with either ***customerRef*** or customer ***id*** as query parameters","tags":["customers"]}}}}
```
