OverviewProductsPlatformsAPI ReferenceResources
WhatsApp

Delete group

DELETEhttps://zernio.com/api/v1/whatsapp/wa-groups/{groupId}

Delete a WhatsApp group and remove all participants.

Not available on Coexistence numbers. Requires a Cloud API-only number.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

groupIdstringRequired

Group ID

Query parameters

accountIdstringRequired

WhatsApp account ID

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/whatsapp/wa-groups/{groupId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsapp.deleteWhatsAppGroupChat({  path: {    groupId: 'group_abc123',  },  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "success": true,  "message": "string"}
OpenAPI specification
Was this page helpful?