curl --request DELETE \
--url https://api.l2msg.com/whatsapp/instance/logout/{instance} \
--header 'apikey: <api-key>'
{
"status": "SUCCESS",
"error": false,
"response": {
"message": "Instance logged out"
}
}
Makes logout on instance
curl --request DELETE \
--url https://api.l2msg.com/whatsapp/instance/logout/{instance} \
--header 'apikey: <api-key>'
{
"status": "SUCCESS",
"error": false,
"response": {
"message": "Instance logged out"
}
}
Your authorization key header
Name of the instance to logout
Ok
The response is of type object
.