Actions55
- Message Actions
- Instance Actions
- Group Actions
- Chat Actions
- Contact Actions
- Profile Actions
- Channel Actions
- Community Actions
- Status Actions
- Catalog Actions
- Event Actions
Instance → Disconnect
AI-generatedSummary
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