---
title: "更新机器人"
method: PUT
path: "/api/v1/platform/bots/{bot_uuid}"
tags: ["Bots"]
---

# 更新机器人

`PUT /api/v1/platform/bots/{bot_uuid}`

## Path parameters

- `bot_uuid` string, uuid, required

## Request body

- BotUpdate
  - `name` string
  - `adapter` string
  - `config` object

## Response `200`

操作成功

- object
  - `code` integer

---

[API](https://skmtc.net/langbot/apis/langbot-service-api.md) · [All operations](https://skmtc.net/langbot/apis/langbot-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langbot/langbot-service-api/revisions/2384dee8c36a/schema)
