---
title: "Delete a location"
method: DELETE
path: "/locations/{id}"
tags: ["Locations"]
---

# Delete a location

`DELETE /locations/{id}`

Soft deletes a location by setting invalidated_at timestamp. Also removes references from LocationsJoin table and organizations using this location as primary or secondary location. 

**Note:** This is a soft delete - the location data remains in the database for audit purposes.

## Response `204`

Location successfully deleted

## Other responses

- `403` — Permission denied - not authorized to delete this location
- `404` — Location not found

---

[API](https://skmtc.dev/crisiscleanup/apis/crisiscleanup-api.md) · [All operations](https://skmtc.dev/crisiscleanup/apis/crisiscleanup-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/crisiscleanup/crisiscleanup-api/revisions/3fa73d4b2895/schema)
