---
title: "Delete subscription to a layer"
method: DELETE
path: "/layers/{layerId}/subscribe"
tags: ["stream"]
---

# Delete subscription to a layer

`DELETE /layers/{layerId}/subscribe`

Deletes a subscription to a layer (topic). This operation removes the subscription from the service. The base path to use is the value of 'nodeBaseURL' returned from /subscribe POST request.

## Path parameters

- `layerId` string, required

## Query parameters

- `subscriptionId` string
- `mode` 'serial' | 'parallel'

## Headers

- `X-Request-ID` string

## Response `200`

OK - Subscription was deleted successfully

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - the request didn't provide correct authentication details
- `403` — Forbidden - the specific account doesn't have correct privileges to perform the operation
- `404` — Not found
- `500` — Internal Server Error

---

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