Actions101
- 🖥️ Sessions Actions
- 🔑 Auth Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
👥 Groups → Demote To Admin
AI-generatedOverview
This node operation demotes specified participants from admin status within a WhatsApp group. It is useful for managing group roles by removing admin privileges from certain members, helping maintain group order and control. For example, a group owner can demote a participant who no longer needs admin rights.
Use Case Examples
- Demote a participant from admin in a group chat by providing the group ID and participant IDs.
- Automate role management in WhatsApp groups by demoting multiple admins at once.
Properties
| Name | Meaning |
|---|---|
| Session | The session name used to authenticate and identify the WhatsApp session. |
| Id | The unique identifier of the WhatsApp group where participants will be demoted from admin. |
| Participants | A JSON array of participant objects specifying the IDs of users to be demoted from admin in the group. |
| Request Options | Optional settings for the request such as batching, SSL certificate handling, proxy configuration, and timeout settings. |
Output
JSON
success- Indicates whether the demotion operation was successful.groupId- The ID of the group where participants were demoted.demotedParticipants- List of participant IDs who were demoted from admin.
Dependencies
- Requires a valid WhatsApp session authentication to perform group admin demotion.
Troubleshooting
- Ensure the session name is correct and active; otherwise, authentication will fail.
- Verify the group ID is valid and the user has permission to demote admins in that group.
- Participants must be valid group members and currently admins; otherwise, demotion will not apply.
- Check network settings if using proxy or if SSL issues occur, especially if 'Ignore SSL Issues' is disabled.