curl --request PUT \
--url https://{server-url}/instance/restart/{instance} \
--header 'apikey: <api-key>'
{
"instance": {
"instanceName": "teste-docs",
"state": "open"
}
}
curl --request PUT \
--url https://{server-url}/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
.