Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation allows demoting participants in a WhatsApp group using the WARest WhatsApp REST API. It is useful for managing group roles by removing admin privileges from specified participants. For example, an admin can demote other admins to regular members to control group permissions.
Use Case Examples
- Demote one or more participants in a WhatsApp group by specifying the session, group ID, and the participants to demote.
- Use this operation to manage group roles dynamically in automated workflows.
Properties
| Name | Meaning |
|---|---|
| Session | The WhatsApp session identifier to use for the API call, selected from existing sessions or entered manually. |
| Group ID | The unique identifier (JID) of the WhatsApp group where participants will be demoted. |
| Participants | List of participants (by JID or phone number) to demote from admin to regular member in the group. |
Output
JSON
json- The API response containing the result of the demotion operation, typically including status and details about the affected participants.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID is valid and active; invalid sessions will cause authentication errors.
- Verify the group ID is correct and the bot or user has admin privileges in the group to perform demotion.
- Participants must be valid group members; attempting to demote non-members will result in errors.
- Check that the API key credential is correctly configured and has permissions to manage group participants.
Links
- WARest WhatsApp Group Management - Documentation on managing WhatsApp groups including promoting and demoting participants.
