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 logs out a specified WhatsApp session using the WARest WhatsApp REST API. It is useful for managing active sessions by terminating them when they are no longer needed or to enforce security by logging out sessions remotely. For example, an administrator can use this operation to log out a session that is compromised or no longer in use.
Use Case Examples
- Logging out a session by selecting it from a list of active sessions.
- Manually entering a session ID to log out a specific session.
Properties
| Name | Meaning |
|---|---|
| Session ID | The identifier of the WhatsApp session to log out. It can be selected from a list of active sessions or entered manually. |
Output
JSON
json- The response from the WARest API after logging out the session, typically confirming the logout status.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- If the session ID is invalid or not found, the node will throw an error indicating the session could not be logged out. Verify the session ID is correct and the session is active.
- Network or authentication errors may occur if the API key or base URL is incorrect or the WARest server is unreachable. Check credentials and network connectivity.
Links
- WAREST GitHub Repository - Official repository for the WARest WhatsApp REST API client, providing documentation and usage examples.
