Actions11
Leave Group
AI-generatedSummary
Leaves a WhatsApp group via the WapiZap API.
Inputs
- apiVersion — Which API version to use (v2 or v1). Defaults to v2.
- instanceName (required) — Name of the WhatsApp instance.
- groupId (required) — WhatsApp group ID to leave (e.g., 120363012345678901@g.us).
Output shape
array of objects
Each input item triggers a leave request; the node returns the API response (or error details if continueOnFail is enabled) for each item.
Examples
Example 1: Leave a group for each item in a list.
Set Instance Name to my-instance, Group ID to the target group's ID, and API Version to v2 (recommended). Connect a Set or Function node that outputs items; each item will cause a leave request.
