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

# Delete a layer

`DELETE /console/v1/layers/{id}`

## Path parameters

- `id` string, required

## Response `200`

Delete layer repsonse

- object
  - `message` string

## Other responses

- `400` — Invalid request. Please check the request input and try again.
- `401` — This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
- `404` — Not Found. The requested resource could not be found.

---

[API](https://skmtc.net/statsig/apis/console-api.md) · [All operations](https://skmtc.net/statsig/apis/console-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/statsig/console-api/versions/3189f450c93b/schema)
