Wasup icon

Wasup

Send WhatsApp messages and manage instances via the Wasup API

Instance → Delete

AI-generated

Summary

Permanently deletes a Wasup WhatsApp instance by sending a DELETE request to /api/instances/{id}. Per the operation's description, this removes the instance's credentials, logs and media.

Inputs

  • Instance (required) — The instance to delete. Pick it from a searchable list (shows name, connected phone and status) or enter its ID directly, e.g. wa_lxyz123_abc45. The ID can be an expression, so it can come from earlier items.

Output shape

The parsed JSON response from the Wasup API's DELETE call, returned as one output item for each input item. The node does not reshape it.

The source doesn't define the response fields, so the exact shape depends on the Wasup server. The node runs once per input item, so multiple input items delete multiple instances. If 'Continue on Fail' is enabled, a failed item returns { error: message } instead of stopping the workflow. API errors are raised as NodeApiError.

Examples

Example 1: Remove a decommissioned number's instance.

Resource: Instance, Operation: Delete, Instance: From List, then pick the instance.

Example 2: Delete an instance whose ID comes from an earlier node.

Resource: Instance, Operation: Delete, Instance: By ID, with the expression {{ $json.instanceId }}.

Links

Discussion