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