WebApp
Web Apps
Return application domains
Changed onThis function reports which of the account's domains are served by a deployed web application.
Note:
This function does not require the webapp account feature. Turning the feature off does not stop or remove a running application, so an interface needs a way to tell that an application still owns a domain.
get/WebApp/get_owned_domains
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_owned_domains",
"module": "WebApp",
"result": {
"data": [
{
"domain": "example.com",
"runtime": "nodejs"
}
],
"status": 1
}
}Changes
- info
endpoint added
- info