---
title: "Rename a chat bot"
method: POST
path: "/v1/chat-bots/{bot-name}/rename"
tags: ["Chat Bots"]
---

# Rename a chat bot

`POST /v1/chat-bots/{bot-name}/rename`

Rename an existing chat bot. Also renames the automatically registered notification channel and updates references in server actions.

## Path parameters

- `bot-name` string, required

## Request body

- object
  - `newName` string, required — New chat bot name

## Response `200`

Chat bot renamed successfully

## Other responses

- `400` — Invalid or missing new name
- `403` — Access denied
- `404` — Chat bot not found
- `409` — Chat bot with the new name already exists

---

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