OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Group → Demote Participants

AI-generated

Summary

Demote the specified participants in a WhatsApp group, removing their admin privileges. Choose a session and group, then provide participant WhatsApp IDs as a comma-separated list, JSON array, or expression resolving to an array.

Inputs

  • Session Name or ID (required) — Select the session or provide its ID.
  • Group Name or ID (required) — Select the group or provide its WhatsApp group JID, such as 120363021234567890@g.us.
  • Participants (required) — WhatsApp participant IDs to demote, up to 256. The API rejects an empty list.

Output shape

A single record

The response reports per-participant outcomes in results[]; check those for each participant's result rather than relying only on top-level success.

Links

Discussion