cURL
curl --request PUT \ --url https://api.botifiy.com/instance/restart/{instance} \ --header 'apikey: <api-key>'
{ "instance": { "instanceName": "<string>", "state": "<string>" } }
Restart an instance
Name of the instance to restart
Ok
Show child attributes
Name of the instance
Connection state of the instance (e.g., 'open', 'close')