# Update chatbot

**PATCH** `/chatbots/{id}`

Updates chatbot draft details or team assignments. Publish again to snapshot changes.

Authentication: bearerAuth
Required scopes: `journey:update`
Allowed roles: `owner`, `admin`, `agent`
Authorization: Update a chatbot in the workspace.

## Parameters

- `id` (path string, required)

## Request body

- `application/json`: `UpdateChatbotRequest` required.

## Responses

- `200`: Chatbot updated
- `default`: Error
