WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation deletes a WhatsApp Channel identified by its ID within a specified session. It is useful for managing WhatsApp channels by removing those that are no longer needed or valid. For example, if a WhatsApp channel is deprecated or compromised, this operation can be used to delete it from the system.

Use Case Examples

  1. Deleting a WhatsApp channel by providing the session name and channel ID to clean up unused channels.
  2. Removing a compromised WhatsApp channel to prevent unauthorized access.

Properties

Name Meaning
Session The name of the session under which the WhatsApp channel exists. This is required to identify the context for the deletion.
Id The unique identifier of the WhatsApp Channel to be deleted. This is required to specify which channel to remove.
Request Options Optional settings to control the HTTP request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • success - Indicates whether the WhatsApp channel was successfully deleted.
  • message - Additional information or confirmation message about the deletion operation.

Dependencies

  • Requires an API key credential or authentication token to authorize the deletion request to the WhatsApp service.

Troubleshooting

  • Ensure the session name and channel ID are correct and exist; otherwise, the deletion will fail.
  • If SSL certificate validation fails and the request is blocked, enable the 'Ignore SSL Issues' option to bypass this check (not recommended for production).
  • Check proxy settings if the request cannot reach the server due to network restrictions.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if necessary.

Links

Discussion