curl --request DELETE \
--url https://{server-url}/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://{server-url}/instance/logout/{instance} \
--header 'apikey: <api-key>'
{
"status": "SUCCESS",
"error": false,
"response": {
"message": "Instance logged out"
}
}
Your authorization key header
ID of the instance to connect
Ok
The response is of type object
.