Actions137
- Business Actions
- Add Product to Collection
- Add Tag to Chat
- Create Collection
- Create Product
- Create Tag
- Delete Collection
- Delete Product
- Delete Tag
- Edit Collection
- Edit Tag
- Get Available Categories
- Get Business Profile
- Get Product
- Get Products By Phone
- Get Tag Colors
- List Collection Products
- List Collections
- List Products
- List Tags
- Remove Product From Collection
- Remove Tag From Chat
- Save Catalog Config
- Set Business Hours
- Set Categories
- Chat Actions
- Community Actions
- Contact Actions
- Event Actions
- Group Actions
- Instance Actions
- Interactive Message Actions
- Message Actions
- Message Action Actions
- Message Status Actions
- Newsletter Actions
- Poll Actions
- Privacy Actions
- Profile Actions
- Proxy Actions
- Queue Actions
- Status/Story Actions
- Webhook Actions
Group → Leave Group
AI-generatedSummary
Leave a WhatsApp group
Inputs
- groupId (required) — The WhatsApp group ID to leave
- requestOptions — Collection of request options to customize the API call
- allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
- proxy — HTTP proxy to use
- timeout — Time in ms to wait for the server to send response headers before aborting the request
Output shape
a single status object
On success returns a confirmation; on failure returns an error object with code and message.
Examples
Example 1: Leave a specific WhatsApp group
groupId: "5511999999999-1234567890@g.us"
Example 2: Leave a group with batch throttling enabled
groupId: "5511999999999-1234567890@g.us", requestOptions: { batch: { batchSize: 1 } }
Example 3: Leave a group with SSL verification disabled
groupId: "5511999999999-1234567890@g.us", allowUnauthorizedCerts: true