DELETE /instance/logout/{instance}

Disconnect the phone (logs out of WhatsApp)

cURL example

curl -X DELETE https://{name}.eai.menustudioai.com/instance/logout/{instance} \
  -H "apikey: YOUR_INSTANCE_TOKEN"

Try it live

requests are proxied by Weai — your token never hits the browser
.eai.menustudioai.com
DELETE/instance/logout/{instance}

Sent as the JSON request body.

Response

example response — run a test to see live data
{
  "status": "SUCCESS",
  "error": false,
  "response": {
    "message": "Instance logged out"
  }
}