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

# Update roomType (partial)

`PATCH /roomTypes/{key}`

Update roomType fields

## Path parameters

- `key` string, required

## Request body

- object — Update specified roomType fields
  - `name` string — Name of the roomType
  - `isEnabled` boolean — If the roomType is active
  - `settings` object — Default settings for roomType
  - `rules` object[] — Default rules for roomType
  - `bots` string[] — Default bots for roomType
  - `owner` string — The name of the user to assign as the owner. Defaults to the user that created it

## Response `200`

Updated field

- RoomTypeResponse — A response for information about a bot
  - `id` string — The UUID of the roomType specified
  - `name` string — The roomType being used in the specified room
  - `isEnabled` boolean — Flag indicating whether a roomType is enabled to use on rooms
  - `settings` object — Key-value pairs used to configure bots and rooms intial state
  - `rules` object[] — Array containing the rules that trigger automations for rooms of this type
  - `bots` string[] — Array containing the bots to be used for rooms of this type
  - `createdBy` string — Id of the User who created this roomType.

## 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)
