---
title: "Update a bot version"
method: PUT
path: "/bot/{id}/version/{version}"
tags: ["Bot"]
---

# Update a bot version

`PUT /bot/{id}/version/{version}`

## Path parameters

- `id` string, required
- `version` string, required

## Request body

- UpdateVersionInput
  - `name` string, nullable — The name of the bot version
  - `importKdl` string, nullable — The KDL import for the bot version

## Response `200`

Success

---

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