WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation deletes the picture of a specified WhatsApp group using the WARest WhatsApp REST API. It is useful for managing group media content by removing the current group picture when it is no longer relevant or needs to be updated. For example, an admin can automate the removal of outdated group images as part of group maintenance workflows.

Use Case Examples

  1. An admin wants to remove the group picture from a WhatsApp group identified by its Group ID to update it later.
  2. Automate cleanup of group pictures for multiple groups by iterating over group IDs and deleting their pictures.

Properties

Name Meaning
Session The WhatsApp session identifier used to authenticate and perform the operation.
Group ID The unique identifier (JID) of the WhatsApp group whose picture is to be deleted.

Output

JSON

  • json - The response from the WARest API after deleting the group picture, typically confirming success or failure.

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; an invalid session will cause authentication errors.
  • Verify the Group ID is correct and corresponds to an existing WhatsApp group.
  • Check API permissions to confirm the session has rights to modify the group picture.
  • Common errors include 'Operation not implemented' if the operation name is incorrect, or HTTP errors from the API if the group or session is invalid.

Links

Discussion