WapiZap Group icon

WapiZap Group

Manage WhatsApp groups via WapiZap API

Demote Admin

AI-generated

Summary

Demote admin participants to regular participants in a WhatsApp group via the WapiZap API.

Inputs

  • instanceName (required) — Name of the WhatsApp instance to use.
  • groupId (required) — WhatsApp group ID (e.g., 120363012345678901@g.us).
  • participants (required) — Comma‑separated list of participant phone numbers that should be demoted from admin to regular member.
  • apiVersion — Which API version to use for the request. Options: 'v2' (default, Modern REST) or 'v1' (Evolution Compatible).

Output shape

object

Returns the API response from the WapiZap demote‑admin endpoint. Typically includes a success flag and the updated group data or an error message if the operation fails.

Examples

Example 1: Demote two admins in a group

instanceName: my-instance, groupId: 120363012345678901@g.us, participants: 5511999998888,5511999997777, apiVersion: v2

Discussion