Clone a domain

Clones a domain and all associated DNS records from a domain that is registered in DNS manager.

Permissions and scopes

To call this operation, you need the following:

  • Identity and access permissions. Your user needs these roles assigned. Learn more.

    • Roles: domain_admin
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: domains:read_write

CLI

linode-cli domains clone 123 --domain example.com

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

ID of the Domain to clone.

Body Params
string
required
length between 1 and 253
^(\*\.)?([a-zA-Z0-9-_]{1,63}\.)+([a-zA-Z]{2,3}\.)?([a-zA-Z]{2,16}|xn--[a-zA-Z0-9]+)$

Filterable The new domain for the clone. Domain labels cannot be longer than 63 characters and must conform to RFC1035. Domains must be unique on Linode's platform, including across different Linode accounts; there cannot be two Domains representing the same domain.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json