Actions69
- App Actions
- Chat Actions
- Device Actions
- Group Actions
- Add Participant
- Approve Participant Request
- Create Group
- Demote Participant
- Export Group Participants
- Get Group Info
- Get Group Info From Link
- Get Group Invite Link
- Get Group Participants
- Get Participant Requests
- Join Group With Link
- Leave Group
- Promote Participant
- Reject Participant Request
- Remove Participant
- Set Group Announce Mode
- Set Group Locked Status
- Set Group Name
- Set Group Photo
- Set Group Topic
- Message Actions
- Newsletter Actions
- Send Actions
- User Actions
Group → Demote Participant
AI-generatedOverview
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
- Demote a participant by specifying the group ID and the participant's phone number to remove their admin status.
- 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.