# 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.

Endpoint: GET /Domain/is_temporary_domain
Version: 11.136.0.4
Security: BasicAuth

## Query parameters:

  - `domain` (string, required)
    A domain on the cPanel account.
    Example: "example.com"

## Response 200 fields (application/json):

  - `apiversion` (integer)
    The version of the API.
    Example: 3

  - `func` (string)
    The name of the method called.
    Example: "is_temporary_domain"

  - `module` (string)
    The name of the module called.
    Example: "Domain"

  - `result` (object)

  - `result.data` (integer)
    Whether the domain is a temporary domain.
* 1 - The domain is a temporary domain.
* 0 -  The domains is not a temporary domain.
    Enum: 0, 1

  - `result.errors` (array,null)
    List of errors if the API failed.

  - `result.messages` (array,null)
    List of messages generated by the API.

  - `result.status` (integer)
    - 1 - Success
- 0 - Failed: Check the errors field for more details.
    Enum: 0, 1

  - `result.warnings` (array,null)
    List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running an API call.


