---
title: "Changes the list of items a SSE connection will receive state updates to."
method: POST
path: "/events/states/{connectionId}"
tags: ["events"]
---

# Changes the list of items a SSE connection will receive state updates to.

`POST /events/states/{connectionId}`

## Path parameters

- `connectionId` string, required

## Request body

- string[]

## Response `200`

OK

## Other responses

- `404` — Unknown connectionId

---

[API](https://skmtc.net/openhab/apis/openhab-rest-api.md) · [All operations](https://skmtc.net/openhab/apis/openhab-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openhab/openhab-rest-api/revisions/0f2ce17cab3e/schema)
