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.

SecurityBasicAuth
Request
query Parameters
domain
required
string <domain>

A domain on the cPanel account.

Example: domain=example.com
Responses
200

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/Domain/is_temporary_domain
Request samples
uapi --output=jsonpretty \
  --user=username \
  Domain \
  is_temporary_domain \
  domain=example.com
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "is_temporary_domain",
  • "module": "Domain",
  • "result": {
    • "data": 1,
    • "errors": null,
    • "messages": null,
    • "status": 1,
    • "warnings": null
    }
}