# Delete a Location

Deletes a `Location` object.

## Prerequisites

Before you can run the following code snippet, you need to call these APIs with the provided parameters to set up the prerequisite API object(s).

1. createTerminalLocation
POST /v1/terminal/locations {"display_name":"My First Store","address":{"line1":"1234 Main Street","city":"San Francisco","postal_code":"94111","state":"CA","country":"US"}}

## Request

```curl
curl -X DELETE https://api.stripe.com/v1/terminal/locations/{{LOCATION_ID}} \
  -u "<<YOUR_SECRET_KEY>>"
```

### Response

```json
{
  "id": "tml_FBakXQG8bQk4Mm",
  "object": "terminal.location",
  "deleted": true
}
```

## Returns

Returns the `Location` object that was deleted.
