Actions24
- �� Enviar Mensagem
- 📋 Enviar Lista
- 🔍 Verificar Número
- 👤 Criar Contato
- �� Listar Contatos
- ✏️ Atualizar Contato
- 🗑️ Remover Contato
- 🏢 Criar Empresa
- ��️ Criar Tag
- 📋 Listar Tags
- 🗑️ Deletar Tag
- 📅 Criar Agendamento
- 📋 Listar Agendamentos
- 🗑️ Deletar Agendamento
- ✏️ Atualizar Ticket
- 📋 Listar Tickets
- ��️ Mostrar Ticket
- ��️ Deletar Ticket
- �� Listar Empresas
- 👁️ Mostrar Empresa
- ✏️ Atualizar Empresa
- 🗑️ Deletar Empresa
- 🏷️ Adicionar Tag ao Ticket
- 🏷️ Remover Tag do Ticket
🗑️ Deletar Empresa
AI-generatedSummary
Deletes a company record from the DevConnectAi API using the specified company ID and token type.
Inputs
- tokenType (required) — The type of authentication token to use: 'connection' (WhatsApp connection token), 'company' (company token), or 'admin' (administrator token).
- companyId (required) — The unique identifier of the company to delete.
Output shape
A single item containing a success status, the operation name, the API result, and a timestamp.
The operation returns an envelope with a 'success' boolean. If the API request fails, the 'error' field contains the message.
Examples
Example 1: Remove an inactive company account.
Set tokenType to 'admin', enter the company ID in companyId.