Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Websocket
Instances
Logout Instance
Makes logout on instance
DELETE
/
instance
/
logout
/
{instance}
Copy
curl --request DELETE \
--url https://api.l2msg.com/whatsapp/instance/logout/{instance} \
--header 'apikey: <api-key>'
Copy
{
"status": "SUCCESS",
"error": false,
"response": {
"message": "Instance logged out"
}
}
Authorizations
Your authorization key header
Path Parameters
Name of the instance to logout
Response
200
application/json
Ok
The response is of type object
.
Copy
curl --request DELETE \
--url https://api.l2msg.com/whatsapp/instance/logout/{instance} \
--header 'apikey: <api-key>'
Copy
{
"status": "SUCCESS",
"error": false,
"response": {
"message": "Instance logged out"
}
}
Assistant
Responses are generated using AI and may contain mistakes.