Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation deletes a specified WhatsApp session using the WARest WhatsApp REST API. It is useful for managing active sessions by removing those that are no longer needed or valid, helping maintain session hygiene and security. For example, if a session is compromised or obsolete, this operation can be used to delete it programmatically within an automation workflow.
Use Case Examples
- Deleting a session by selecting it from a list of active sessions.
- Manually entering a session ID to delete a specific session.
Properties
| Name | Meaning |
|---|---|
| Session ID | The identifier of the WhatsApp session to be deleted. It can be selected from a list of existing sessions or entered manually. |
Output
JSON
json- The JSON response from the WARest API after deleting the session, typically confirming the deletion or providing status information.
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 provided is valid and exists; otherwise, the API may return an error indicating the session was not found.
- Check that the API credentials (API key and base URL) are correctly configured and have the necessary permissions to delete sessions.
- Network issues or incorrect API endpoint configuration can cause request failures; verify connectivity and endpoint correctness.
Links
- WAREST GitHub Repository - Official repository for the WARest WhatsApp REST API client, providing documentation and source code.
