---
title: "Update Live Demo"
method: PUT
path: "/bot-live-demo/{botId}/{key}"
tags: ["LiveDemo"]
---

# Update Live Demo

`PUT /bot-live-demo/{botId}/{key}`

## Path parameters

- `botId` string, required
- `key` string, required

## Request body

- LiveDemoCreateDto
  - `name` string, nullable — The friendly-name of the live demo.
  - `mimicSourceId` string, nullable — The source ID to mimic when conversing.
  - `active` boolean — Whether or not this demo is active.

## Response `200`

Success

- LiveDemoDto
  - `name` string, nullable
  - `key` string, nullable
  - `organizationId` string, nullable
  - `active` boolean
  - `mimicSourceId` string, nullable
  - `sourceVariables` BotVariableDto[], nullable
    - `id` string, nullable
    - `name` string, nullable
    - `value` string, nullable

---

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