Nova

Return domain creation availability

Changed on

This function returns whether a cPanel account can create new subdomains or addon domains.

Notes:

  • This function requires that your package includes the AI App Builder feature.
  • Creating a new addon domain depends on the creation of subdomains. If the cPanel account has reached its limit for subdomains, you cannot create a new addon domain.

Important:

When you disable the AI App Builder feature, the system disables this function.

get/Nova/can_create_domains

Request

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

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": "can_create_domains",
  "module": "Nova",
  "result": {
    "data": 1,
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}

Changes