Unpair Account
wa_unpair_accountDisconnect a WhatsApp account from this service. The account stops sending and receiving immediately. Message history is kept. Re-connecting requires pairing the phone again, so ask the user before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | the account to disconnect, from wa_list_accounts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | what happened, and what was kept | |
| state | Yes | logged_out once the account has been disconnected | |
| refusal | No | present only when the request was declined | |
| account_id | Yes |