WhatsApp Web API (WWebJS) icon

WhatsApp Web API (WWebJS)

Interact with WhatsApp Web API via WWebJS — send messages, manage sessions, chats, groups, contacts and channels

Session → Terminate

AI-generated

Summary

Terminate the selected session and delete its data

Inputs

  • sessionId (required) — Unique identifier for the session. Select from the list or use an expression. Falls back to credentials default if empty.

Output shape

a confirmation object indicating successful termination (e.g., { success: true })

On success the operation returns a success flag; on failure an error is thrown.

Examples

Example 1: Terminate a specific session

resource = Session, operation = Terminate, sessionId =

Example 2: Terminate all inactive sessions

resource = Session, operation = terminateInactive (no sessionId needed)

Links

Discussion