WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation deletes a WhatsApp Channel 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. Automating the removal of channels that are no longer active or required in a WhatsApp integration workflow.

Properties

Name Meaning
Session The name of the session in 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 deletion of the WhatsApp channel was successful.
  • message - Additional information or status message returned after the deletion attempt.

Dependencies

  • Requires an API key or authentication token to access the WhatsApp channel management API.

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 cautiously.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if needed.
  • Proxy settings must be correctly configured if a proxy is required for network access.

Discussion