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

# Delete a layer

`DELETE /layers/{id}`

Soft delete a geographic layer by setting invalidated_at timestamp. This removes the layer from active use while preserving the record for audit purposes. The individual locations in the layer are not affected - only the layer grouping is removed. 

**Note:** This is a soft delete - layer data remains in database for historical tracking and audit purposes.

## Response `204`

Layer successfully deleted

## Other responses

- `403` — Permission denied - not authorized to delete this layer
- `404` — Layer 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)
