REST API – How to restart an application

You can restart an application by leveraging the PUT verb with the actions endpoint (per the application). Please see the following:

curl -X PUT –header ‘Accept:application/json; charset=utf-8′ –header ‘Content-type:application/json; charset=utf-8′ http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/actions/restart


Comments are closed.