Actions75
- Channel Actions
- Chat Actions
- Client Actions
- Contact Actions
- Group Chat Actions
- Message Actions
- Session Actions
Group Chat → Remove Participants
AI-generatedSummary
Remove participants from a group chat
Inputs
- sessionId (required) — Session identifier. Select from the list or use an expression. Falls back to credentials default if empty.
- chatId (required) — Unique WhatsApp identifier for the group chat.
- participantIds (required) — Comma-separated list of participant WhatsApp IDs to remove.
Output shape
a response object indicating success
The API typically returns a JSON object with a success flag; exact fields depend on the endpoint and may include an error message if the operation fails.
Examples
Example 1: Remove two members from a group
sessionId: 'patroltech'; chatId: '120363XXXXXXXXX@g.us'; participantIds: '34612345678@c.us, 34698765432@c.us'
Example 2: Bulk removal using an expression
sessionId: $node.SessionID; chatId: $json.GroupID; participantIds: $json.ParticipantList