Z-API by @icarodev icon

Z-API by @icarodev

Integração com Z-API WhatsApp - by @icarodev

Instance → Disconnect

AI-generated

Summary

Disconnects the selected WhatsApp instance.

Inputs

  • resource — Resource type to target; must be set to 'instance' for this operation.
  • operation — Operation to perform; choose 'disconnect' to terminate the instance.

Output shape

object

Raw response from the /disconnect endpoint; contains success confirmation or error details.

Examples

Example 1: Terminate a WhatsApp instance

resource: instance; operation: disconnect

Links

Discussion