Disconnect
Method#
/disconnect#
GET https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/disconnect
Header#
| Key | Value | 
|---|---|
| Client-Token | ACCOUNT SECURITY TOKEN | 
Concept#
This method disconnects your Z-API number
However, you don't need to worry. To reconnect again all you need to do is read the QRCode :)
Code#
Don't forget !
Once you disconnect and all of the methods become unavailable, the webhooks stop being sent.