WhatsApp Gateway icon

WhatsApp Gateway

Envia mensagens e gerencia sessões/contatos no WhatsApp Gateway

Session → Logout

AI-generated

Summary

Log out a specified WhatsApp session by its name or ID, effectively ending the session's active connection.

Inputs

  • Session (Name or ID) (required) — The name or ID of the WhatsApp session to log out.

Output shape

a single JSON object with the logout result from the API

Requires the session identifier. Operation sends a POST request to the endpoint /api/sessions/{session}/logout. No pagination involved.

Examples

Example 1: Logging out the session named 'campanha1'

Set 'Session (Name or ID)' to 'campanha1', select 'Session' resource and 'Logout' operation to disconnect that session.

Links

Discussion