---
title: "CORS support for sending a list of partitions to a stream layer"
method: OPTIONS
path: "/layers/{layerId}/partitions"
tags: ["CORS"]
---

# CORS support for sending a list of partitions to a stream layer

`OPTIONS /layers/{layerId}/partitions`

Enable CORS by returning correct headers

## Path parameters

- `layerId` string, required

## Response `200`

Default response for CORS method

---

[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)
