---
title: "Update room (partial)"
method: PATCH
path: "/rooms/{key}"
tags: ["rooms"]
---

# Update room (partial)

`PATCH /rooms/{key}`

Update room fields

## Path parameters

- `key` string, required

## Request body

- object — Update specified room fields
  - `name` string — Name of the room
  - `active` boolean — If the room is active
  - `type` string — Id of roomType
  - `owner` string — The name of the user to assign as the owner. Defaults to the user that created it

## Response `200`

Updated field

- RoomResponse — A response for information about a room
  - `id` integer — The room number of the specified room
  - `name` string — The unique readable name for the room
  - `active` boolean — Flag for whether the room is still active or closed
  - `type` string — The roomType being used in the specified room
  - `createdBy` string — Id of the User who created this room.
  - `origin` string — Tracks where refocus room was created from

## Other responses

- `400` — Bad Request
- `401` — Authentication Error
- `403` — Forbidden
- `default` — Error

---

[API](https://skmtc.dev/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.dev/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salesforce/refocus-api/revisions/42c2153b047e/schema)
