PassengerApps
Application Manager

Enable Passenger application

Note: Web Apps (WebApp) is the newer, recommended feature for deploying web applications; it deploys container-based applications and supersedes Application Manager. Use WebApp::start instead of this function for applications deployed with Web Apps. Use PassengerApps only to manage applications already registered with Application Manager.

This function enables a Passenger application and generates the Apache configuration on an account.

Important:

When you disable the Web Server role, the system disables this function.

get/PassengerApps/enable_application

Request

  • Base URL
    https://cpanel-server.tld:2083/execute
  • Auth
    HTTP basic

Query parameters

namestring required
Example:slippers

The Passenger application to enable on the account.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "enable_application",
  "module": "PassengerApps",
  "result": {
    "status": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.