WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation deletes a specified session by its name. It is useful in scenarios where you need to programmatically terminate or clean up sessions in an application or service, such as logging out users or clearing session data to free resources.

Use Case Examples

  1. Deleting a user session after logout to ensure security.
  2. Removing expired or inactive sessions to maintain system performance.

Properties

Name Meaning
Session The name of the session to be deleted, required to identify which session to remove.
Request Options Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to customize the API call behavior.

Output

JSON

  • success - Indicates whether the session deletion was successful.
  • message - Additional information or error message related to the deletion operation.

Dependencies

  • Requires an API key or authentication token to authorize the session deletion request.

Troubleshooting

  • Ensure the session name provided exists; otherwise, the deletion will fail with an error indicating the session was not found.
  • If SSL certificate validation is enabled and the server uses a self-signed or invalid certificate, the request may fail unless 'Ignore SSL Issues' is enabled.
  • Proxy settings must be correctly configured if used; incorrect proxy URLs or credentials will cause request failures.
  • Timeouts may occur if the server is slow to respond; increasing the timeout value can help in such cases.

Discussion