v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
WebApp
Web Apps

Report whether the Web Apps feature is available.

This function reports whether the Web Apps feature is available to the current account, so an interface can decide whether to surface it.

It is available when the server has the feature enabled, the account's package feature list includes the feature, and the account is allowed at least one application.

get/WebApp/has_feature

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": "has_feature",
  "module": "WebApp",
  "result": {
    "data": {
      "has_feature": 1
    },
    "status": 1
  }
}