v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Domain
Temporary Domains

Return whether a domain is temporary

This function determines whether a domain is temporary.

Note:

For more information about temporary domains, read our Temporary Domains documentation.

get/Domain/is_temporary_domain

Query parameters

domainstring domain required
Example:example.com

A domain on the cPanel account.

Response

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