---
title: "Changes to Sets room state to locked or unlocked"
method: POST
path: "/room/{roomName}/state"
---

# Changes to Sets room state to locked or unlocked

`POST /room/{roomName}/state`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 8 of 39 revisions.

- **2020-10-10** `7cd1abbcf31e` — 1 info
- **2020-09-10** `66e858cc5f97` — 1 breaking
- **2020-08-06** `770ab7823837` — 1 info
- **2020-08-06** `c0f6f5d96785` — 1 breaking
- **2020-03-27** `c82cda3179a6` — 1 info
- **2020-03-25** `40da4d1cc401` — 1 breaking
- **2020-03-25** `8713c619a2d6` — 1 info
- **2015-09-27** `fdd6b89fcde2` — 1 breaking

## Changes

- **2020-10-10** `7cd1abbcf31e` — 1 info
  - endpoint added
- **2020-09-10** `66e858cc5f97` — 1 breaking
  - api path removed without deprecation
- **2020-08-06** `770ab7823837` — 1 info
  - endpoint added
- **2020-08-06** `c0f6f5d96785` — 1 breaking
  - api path removed without deprecation
- **2020-03-27** `c82cda3179a6` — 1 info
  - endpoint added
- **2020-03-25** `40da4d1cc401` — 1 breaking
  - api path removed without deprecation
- **2020-03-25** `8713c619a2d6` — 1 info
  - endpoint added
- **2015-09-27** `fdd6b89fcde2` — 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/opentok/apis/opentokrtc-api/docs/room/:roomName/state/post.md) · [API](https://skmtc.dev/opentok/apis/opentokrtc-api.md) · [Page](https://skmtc.dev/opentok/apis/opentokrtc-api/changes/room/:roomName/state/post)
