Enable Passenger application

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.

SecurityBasicAuth
Request
query Parameters
name
required
string

The Passenger application to enable on the account.

Example: name=slippers
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/PassengerApps/enable_application
Request samples
uapi --output=jsonpretty \
  --user=username \
  PassengerApps \
  enable_application \
  name='slippers'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "enable_application",
  • "module": "PassengerApps",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}