DevConnectAi Tool icon

DevConnectAi Tool

Ferramenta para agentes IA interagirem com WhatsApp via DevConnectAi - Envia mensagens, gerencia contatos, tickets e muito mais

🗑️ Deletar Empresa

AI-generated

Summary

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.

Discussion