---
title: "Deletes a location"
method: DELETE
path: "/locations/v4/{locationId}"
tags: ["Locations"]
---

# Deletes a location

`DELETE /locations/v4/{locationId}`

Deletes the location `locationId`.

***NOTE***: A location can not be deleted if the location is referred by any shipment or
shipment plan.

## Response `204`

Successful (no content).

The location was successfully deleted.

## Other responses

- `400` — Bad request The request object is in an incorrect format or has values that are invalid or out of range. If available, further error details are provided in the response body.
- `401` — Unauthorized The request did not provide correct authentication details
- `403` — Forbidden The account does not have the correct privileges
- `404` — Not Found The specified resource was not found

---

[API](https://skmtc.net/here/apis/tracking.md) · [All operations](https://skmtc.net/here/apis/tracking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/here/tracking/revisions/efa162f7023c/schema)
