# Domain

The Domain module for UAPI.

## Convert a temporary domain to a registered domain

 - [POST /Domain/convert_temporary_to_registered](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain/domain-convert_temporary_to_registered.md): This function converts a temporary domain into a registered domain and moves its document root files
to the new document root location.

Note:

* For more information about temporary domains, read our Temporary Domains documentation.
* You cannot use this function to convert a cPanel account's main domain.

## Return whether a domain is temporary

 - [GET /Domain/is_temporary_domain](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain/domain-is_temporary_domain.md): This function determines whether a domain is temporary.

Note:

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

## Rename a primary, addon, or alias domain

 - [POST /Domain/rename_domain](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain/domain-rename_domain.md): This function renames a primary domain, addon domain, or alias domain on a
cPanel account. The system updates all relevant configuration files, document root
paths, and DNS entries automatically.

Note:

* You cannot rename a domain while another rename operation is in progress.
* You cannot rename the server hostname.
* The new domain must not already be configured on the account.

## Return whether temporary domains are disabled

 - [GET /Domain/temporary_domain_is_disabled](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain/domain-temporary_domain_is_disabled.md): This function returns whether the temporary domains feature is
disabled by server configuration.

Note:

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

## Convert a temporary domain to a registered domain

 - [POST /Domain/convert_temporary_to_registered](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain/domain-convert_temporary_to_registered.md): This function converts a temporary domain into a registered domain and moves its document root files
to the new document root location.

Note:

* For more information about temporary domains, read our Temporary Domains documentation.
* You cannot use this function to convert a cPanel account's main domain.

## Return whether a domain is temporary

 - [GET /Domain/is_temporary_domain](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain/domain-is_temporary_domain.md): This function determines whether a domain is temporary.

Note:

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

## Rename a primary, addon, or alias domain

 - [POST /Domain/rename_domain](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain/domain-rename_domain.md): This function renames a primary domain, addon domain, or alias domain on a
cPanel account. The system updates all relevant configuration files, document root
paths, and DNS entries automatically.

Note:

* You cannot rename a domain while another rename operation is in progress.
* You cannot rename the server hostname.
* The new domain must not already be configured on the account.

## Return whether temporary domains are disabled

 - [GET /Domain/temporary_domain_is_disabled](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain/domain-temporary_domain_is_disabled.md): This function returns whether the temporary domains feature is
disabled by server configuration.

Note:

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

