GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Group → Demote Participant

AI-generated

Overview

This node operation interacts with the Go WhatsApp Web MultiDevice API to demote a participant in a WhatsApp group. It is useful for managing group roles, specifically to remove administrative privileges from a participant. For example, if a group admin wants to revoke another member's admin rights, this operation can be used.

Use Case Examples

  1. Demote a participant by specifying the group ID and the participant's phone number to remove their admin status.
  2. Manage group roles dynamically in a WhatsApp group by demoting participants as needed.

Properties

Name Meaning
Device ID Optional device ID override. If set, it takes priority over the credential device ID.
Group ID ID of the WhatsApp group where the participant will be demoted.
Participant Phone Comma-separated phone numbers of the participant(s) to be demoted.

Output

JSON

  • json - The JSON response from the API indicating the result of the demotion operation.

Dependencies

  • Requires an API key credential for the Go WhatsApp Web MultiDevice API, including host URL and authentication details.

Troubleshooting

  • Ensure the Group ID and Participant Phone numbers are correctly formatted and valid.
  • Check that the API credentials are correctly configured and have the necessary permissions.
  • Common errors may include invalid group or participant IDs, or insufficient permissions to demote participants.

Discussion