QuePasa API (WhatsApp) icon

QuePasa API (WhatsApp)

Interact with QuePasa WhatsApp API

Group → Demote from Admin

AI-generated

Summary

Demote a specified admin participant to a regular participant within a WhatsApp group.

Inputs

  • Group ID (required) — ID of the group where the participant's admin status will be revoked (e.g., 123456789@g.us).
  • Participant ID (required) — ID of the participant to demote from admin status (e.g., 5511999999999@s.whatsapp.net).

Output shape

a JSON object describing the API response to the demotion request, typically including status or success confirmation.

Output is a JSON array of response objects corresponding to each execution item. Errors are returned in the JSON 'error' field if operation fails.

Examples

Example 1: Demote a group admin

Set Resource to 'Group', Operation to 'Demote from Admin', provide 'Group ID' and 'Participant ID' of the admin to demote.

Links

Discussion