# Delete locations

Source: https://developer.avalara.com/products/mylodge/integration-guides/mylodgetax/uxm1193549786713/

Guide: MyLodgeTax

# Delete locations

Learn how to delete customer locations using the deleteCustomerLocations endpoint.

**Element type**: Required

**Endpoint/model**: [deleteCustomerLocations](https://developer.avalara.com/api-reference/myLodgeAPI/v1/methods/Customer%20Information/deleteCustomerLocation/)

Your integration must allow users to delete customer locations. This is done using the [deleteCustomerLocations](https://developer.avalara.com/api-reference/myLodgeAPI/v1/methods/Customer%20Information/deleteCustomerLocation/) endpoint. Include the `customerId` and `locationId` in the request URL.

```
curl -X 'DELETE' \
  'https://mylodgetaxapi-sbx.avalara.net/v2/customers/00001/locations/1234' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' 
```