Green API icon

Green API

Send WhatsApp messages via Green API

Group → Remove Admin

AI-generated

Overview

This node operation removes admin rights from a participant in a WhatsApp group using the Green API. It is useful for managing group roles by revoking admin privileges from specific participants. For example, if a group admin needs to be demoted, this operation can be used to remove their admin status.

Use Case Examples

  1. Removing admin rights from a participant in a WhatsApp group to manage group permissions.
  2. Revoking admin privileges from a user who no longer needs administrative control in the group.

Properties

Name Meaning
Group ID The unique identifier of the WhatsApp group where the admin rights will be removed.
Participant Chat ID The chat ID of the participant whose admin rights are to be removed from the group.
Override Credentials Optional credentials to override the default API instance ID and token for this specific operation.

Output

JSON

  • success - Indicates if the admin removal operation was successful.
  • message - Response message from the API regarding the admin removal operation.

Dependencies

  • Green API service requiring instance ID and API token credentials

Troubleshooting

  • Ensure the Group ID and Participant Chat ID are correctly formatted and valid WhatsApp identifiers.
  • Verify that the API credentials (instance ID and API token) are correct and have the necessary permissions.
  • Common errors include failure to remove admin due to invalid IDs or insufficient permissions, which can be resolved by checking the input parameters and credentials.

Links

Discussion