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

# Update botData (partial)

`PATCH /botData/{key}`

Update botData fields

## Path parameters

- `key` string, required

## Request body

- object — Create botData properties
  - `name` string — Name of the bot data
  - `value` string — Value of the bot data
  - `botId` string — UUID for the coresponding bot
  - `roomId` integer — Number for the coresponding room
  - `owner` string — The name of the user to assign as the owner. Defaults to the user that created it

## Response `200`

Updated field

- BotDataResponse — A response for information about a room
  - `id` string — UUID of the specified bot data
  - `name` string — Name of the bot data
  - `value` string — Current value of the bot data
  - `roomId` integer — The room number of the room of the bot data
  - `botId` string — UUID of the specified bot in that room
  - `createdBy` string — Id of the User who created this botData.

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