Z-API WhatsApp icon

Z-API WhatsApp

Integration with Z-API (WhatsApp) organized by resources (messages, groups, chats, contacts, products, queue, instance, status, etc.).

Group → Remove Admin

AI-generated

Summary

Remove a specified admin from a WhatsApp group.

Inputs

  • groupId (required) — Group ID in international format, e.g., 120363019502650977-group
  • participants (required) — Array of phone numbers in international format that should be removed from the group

Output shape

object containing the raw API response, typically indicating success or providing updated group details

Returns the raw Z‑API response; errors are thrown as NodeOperationError.

Examples

Example 1: Remove a single admin from a group

Set Group ID to the target group, add the admin’s phone to Participants, select operation 'removeAdmin'

Example 2: Remove multiple admins at once

Provide Group ID and multiple phone numbers in Participants, choose operation 'removeAdmin'

Links

Discussion