WasenderAPI icon

WasenderAPI

Manage WasenderAPI sessions, messages, contacts, and groups

Account → Delete Whatsapp Session

AI-generated

Overview

This node operation deletes a specified WhatsApp session from the WasenderAPI account resource. It is useful for managing and cleaning up active WhatsApp sessions by removing those that are no longer needed or valid. For example, if a session is compromised or no longer in use, this operation can be used to delete it securely.

Use Case Examples

  1. Deleting a WhatsApp session by selecting it from a list of active sessions.
  2. Deleting a session by providing its unique session ID directly.

Properties

Name Meaning
Session The WhatsApp session to delete, which can be selected from a list or specified by its ID.
Options Additional request options for the API call, including retry behavior and maximum retry attempts.

Output

JSON

  • json - The JSON response from the API after deleting the WhatsApp session, typically confirming the deletion status or details.

Dependencies

  • Requires an API key credential for WasenderAPI account authentication.

Troubleshooting

  • Common issues include providing an invalid or non-existent session ID, which will result in an error from the API indicating the session could not be found.
  • Network or API errors may occur; enabling retry options can help mitigate transient failures.
  • Ensure the API credentials are correctly configured and have the necessary permissions to delete sessions.

Discussion