Restart or stop and OC application


#1

Restarting

curl -X PUT
     -H "Authorization: Bearer <thy_api_key>" \
https://www.opscaptain.com/api/instances/app/restart?appid=<thy_appid>

Stopping

curl -X PUT
     -H "Authorization: Bearer <thy_api_key>" \
https://www.opscaptain.com/api/instances/app/stop?appid=<thy_appid>