Skip to main content
PUT
Modify a CNAME record

Authorizations

Authorization
string
header
required

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
integer
required

Order ID of the domain.

Example:

124680932

current_value
string
required

The existing target hostname of the record to modify.

Example:

"old-target.example.com"

new_value
string
required

The replacement target hostname (fully qualified domain name).

Example:

"new-target.example.com"

host
string

Subdomain label being aliased, relative to the zone (e.g. www, shop).

Example:

"www"

time_to_live
integer

TTL in seconds. Minimum 300. Omit to use the zone default.

Example:

300

Response

CNAME record modified successfully.

status
string
Example:

"SUCCESS"

message
string
Example:

"Record added successfully"