TNEENWH icon

TNEENWH

Use TNEENWH API operations

Group Demote Participants

AI-generated

Summary

Demote one or more participants from admin status in a specified WhatsApp group by providing the group's JID and a comma-separated list of participant IDs.

Inputs

  • Group JID (required) — The unique identifier (JID) of the WhatsApp group where participants will be demoted.
  • Participants CSV — A comma-separated string of participant identifiers (JIDs) to demote from admin status in the group.
  • Session ID Override — Optional session ID to override the default session for the operation.
  • Channel Secret Override — Optional channel secret to override the default secret for the operation.

Output shape

a single JSON object per input item containing the API response from the demoteParticipants call, paired with the corresponding input item.

If the operation fails for an input item and 'Continue On Fail' is enabled, the output contains an error message for that item instead of the API response.

Examples

Example 1: Demote participants from admin status in a WhatsApp group

Provide the target group's JID and a CSV string of participant JIDs to demote them.

Links

Discussion