Modify a CNAME record
DNS
Modify CNAME
Modifies an existing CNAME record on the domain’s DNS zone.
PUT
Modify a CNAME record
Authorizations
A personal access token. Obtain one from the dashboard under Settings > API Key. Include it in the Authorization header as Bearer <token>. Unauthenticated requests to protected routes return 401 Unauthorized.
Body
application/json
Order ID of the domain.
Example:
124680932
The existing target hostname of the record to modify.
Example:
"old-target.example.com"
The replacement target hostname (fully qualified domain name).
Example:
"new-target.example.com"
Subdomain label being aliased, relative to the zone (e.g. www, shop).
Example:
"www"
TTL in seconds. Minimum 300. Omit to use the zone default.
Example:
300