WebApp
Web Apps
Stop an application's server process.
Changed onThis function stops an application's server process.
Important:
This function only applies to applications in the server category. Calling it on a static application fails with the invalid_category error category. It also requires the application to have finished at least one deploy; calling it before then fails with the not_deployed error category.
get/WebApp/stop
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Query parameters
namestring required
Example:my-app
The application's unique name (slug).
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "stop",
"module": "WebApp",
"result": {
"data": {
"status": "stopped"
},
"status": 1
}
}Changes
- warning
added the new
not_deployedenum value to the//response property for the response status
- warning
- info
api operation id
WebApp_stopremoved and replaced withWebApp-stop
- info