---
title: "Remove a layer from the saved-map document (hard delete)."
method: POST
path: "/v1/op/map_layers.remove"
tags: ["kernel-ops"]
---

# Remove a layer from the saved-map document (hard delete).

`POST /v1/op/map_layers.remove`

## Headers

- `x-api-key` string, nullable

## Request body

- MapLayerRemoveInput
  - `id` string, required

## Response `200`

Successful Response

- MapLayerRemoveOutput
  - `deleted` boolean, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.dev/geopera/apis/geopera-data-platform.md) · [All operations](https://skmtc.dev/geopera/apis/geopera-data-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/geopera/geopera-data-platform/revisions/cb0130b2a40a/schema)
