---
title: "Disable room"
method: PUT
path: "/v2/rooms/{room_id}/disable"
tags: ["Room"]
---

# Disable room

`PUT /v2/rooms/{room_id}/disable`

## Request

- Base URL: `https://api.sandbox.eu.bandyer.com`
- URL: `https://api.sandbox.eu.bandyer.com/v2/rooms/{room_id}/disable`
- Auth: API key in header `apikey`

Disable a room by its Id.

## Path parameters

- `room_id` string, required

## Request body

- object
  - `disconnect_participants` boolean: Indicates if participants of the room should be disconnect or not.

## Response `200`

- object
  - `id` string: Room id.
  - `message` string: Update message.

## Other responses

- `401`: Unauthorized
- `404`: Room not found
- `422`: Unprocessable Content
- `429`: Too Many request

---

[API](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2.md) - [All operations](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/revisions/4424fd54ae42?raw)
