curl --request PUT \
--url https://api.l2msg.com/whatsapp/instance/restart/{instance} \
--header 'apikey: <api-key>'
{
"instance": {
"instanceName": "teste-docs",
"state": "open"
}
}
Restarts the instance
curl --request PUT \
--url https://api.l2msg.com/whatsapp/instance/restart/{instance} \
--header 'apikey: <api-key>'
{
"instance": {
"instanceName": "teste-docs",
"state": "open"
}
}
Your authorization key header
Name of the instance to restart
Ok
The response is of type object
.