---
title: "Deletar instância"
method: POST
path: "/endpoint.php?action=deletar_instancia"
---

# Deletar instância

`POST /endpoint.php?action=deletar_instancia`

## Request

- Base URL: `https://api.chatpro.com.br/painel/ws`
- URL: `https://api.chatpro.com.br/painel/ws/endpoint.php?action=deletar_instancia`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/chatpro/apis/gest-o-das-inst-ncias/docs/endpoint.php%3Faction=deletar_instancia/post.ts> (a function with typed inputs; its response is checked against the schema)

Endpoint utilizado para deletar uma instância

## Request body

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

## Response `200`

200

- union
  - object
    - `success` boolean
    - `message` string
  - 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)
