---
title: "Alterar nome da instância"
method: POST
path: "/endpoint.php?action=alterar_nome"
---

# Alterar nome da instância

`POST /endpoint.php?action=alterar_nome`

## Request

- Base URL: `https://api.chatpro.com.br/painel/ws`
- URL: `https://api.chatpro.com.br/painel/ws/endpoint.php?action=alterar_nome`
- Auth: API key in header `Authorization`

Endpoint utilizado para alterar o nome de uma instância

## Request body

- object
  - `code` string, required: Código da instância
  - `new_name` string, required: Novo nome da instância

## Response `200`

200

- object
  - `success` boolean
  - `message` string

---

[API](https://skmtc.dev/chatpro/apis/gest-o-das-inst-ncias.md) - [All operations](https://skmtc.dev/chatpro/apis/gest-o-das-inst-ncias/llms.txt) - [OpenAPI document](https://skmtc.dev/chatpro/apis/gest-o-das-inst-ncias/revisions/43f9820565b4?raw)
