---
title: "Changes to Set read-only state of a room"
method: PUT
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/read-only"
---

# Changes to Set read-only state of a room

`PUT /ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/read-only`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 8 of 62 revisions.

- **2026-04-29** `89621cb42013` — 1 info
- **2026-04-27** `812935981d69` — 1 breaking
- **2026-04-26** `7e78681bf716` — 1 info
- **2026-03-31** `dc2b6567a07b` — 4 info
- **2026-02-19** `99bd41590ecb` — 1 info
- **2026-02-09** `2dd98af77e49` — 2 info
- **2025-12-09** `e33f2a9ba885` — 1 breaking
- **2025-11-08** `6ef64fbefde3` — 1 info

## Changes

- **2026-04-29** `89621cb42013` — 1 info
  - added the required property `ocs/data/tagIds` to the response with the `200` status
- **2026-04-27** `812935981d69` — 1 breaking
  - removed the required property `ocs/data/tagIds` from the response with the `200` status
- **2026-04-26** `7e78681bf716` — 1 info
  - added the required property `ocs/data/tagIds` to the response with the `200` status
- **2026-03-31** `dc2b6567a07b` — 4 info
  - added the optional property `ocs/data/lastMessage/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToActorDisplayName` to the response with the `200` status
  - added the optional property `ocs/data/lastMessage/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToConversationName` to the response with the `200` status
  - added the optional property `ocs/data/lastMessage/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToConversationToken` to the response with the `200` status
  - added the optional property `ocs/data/lastMessage/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToMessageId` to the response with the `200` status
- **2026-02-19** `99bd41590ecb` — 1 info
  - added the required property `ocs/data/attributes` to the response with the `200` status
- **2026-02-09** `2dd98af77e49` — 2 info
  - added the optional property `ocs/data/lastMessage/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/threadId` to the response with the `200` status
  - added the optional property `ocs/data/lastMessage/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/threadTitle` to the response with the `200` status
- **2025-12-09** `e33f2a9ba885` — 1 breaking
  - the `ocs/data/hasScheduledMessages` response's property type/format changed from `boolean`/`` to `integer`/`int64` for status `200`
- **2025-11-08** `6ef64fbefde3` — 1 info
  - added the required property `ocs/data/hasScheduledMessages` to the response with the `200` status

---

[Operation](https://skmtc.dev/nextcloud/apis/spreed-full/docs/ocs/v2.php/apps/spreed/api/:apiVersion/room/:token/read-only/put.md) · [API](https://skmtc.dev/nextcloud/apis/spreed-full.md) · [Page](https://skmtc.dev/nextcloud/apis/spreed-full/changes/ocs/v2.php/apps/spreed/api/:apiVersion/room/:token/read-only/put)
