Actions65
- Batch Actions
- Chat Actions
- Consent Actions
- Contact Actions
- Custom API Request Actions
- Event Actions
- Group Actions
- History Sync Actions
- Instance Actions
- Message Actions
- Privacy Actions
- Recipient Actions
- Webhook Delivery Actions
Instance → Logout Session
AI-generatedSummary
Logs out the current WhatsApp session by sending purgeAuth and reconnect settings to the wa-instance API. Use the defaults to purge authentication data and reconnect; turn either option off to change that behavior.
Inputs
- Purge Auth — Whether to purge authentication data during logout. Defaults to true.
- Reconnect — Whether to reconnect after logout. Defaults to true.
Output shape
A single API response record as an n8n item.
The node sends a POST request to
/session/logoutusing the configured API credential. The response fields depend on the backend.
Examples
Example 1: Standard logout
Keep both options enabled to purge auth and request reconnection.
Example 2: Log out without purging auth
Disable Purge Auth; Reconnect remains enabled by default.