Patch an edge hostname
PATCH https://{{host}}/hapi/v1/dns-zones/:dnsZone/edge-hostnames/:recordName
Selectively modify an edge hostname using JSON patch syntax. This API supports the replace
patch operation to make simple changes to the TTL and IP version.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
comments | string | (Optional) Additional comments to inform statusUpdateEmail recipients of the reason for the change. | |
statusUpdateEmail | string | (Optional) Email address that should receive updates on the change request. To specify more than one email address use a single comma-separated set of addresses, or repeat the parameter with each address. | |
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
Request Body
{"0"=>{"op"=>"replace", "path"=>"/ttl", "value"=>"500"}, "1"=>{"op"=>"replace", "path"=>"/ipVersionBehavior", "value"=>"IPV4"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |