Wacap icon

Wacap

Interact with WhatsApp using Wacap Docker API

Session → Delete

AI-generated

Summary

Deletes a WhatsApp session via the Wacap Docker API.

Inputs

  • sessionId (required) — Session ID/name used to identify the session to delete.

Output shape

The Wacap API response, typically containing status and message fields reflecting the deletion result.

Returned as the JSON result of the DELETE request to the Wacap Docker instance.

Examples

Example 1: Remove a WhatsApp session by providing its ID/name.

Set the Session ID parameter to the desired session identifier; the node will send a DELETE request to /api/sessions/{sessionId} and return the API response.

Discussion