Update a proxy

PUT https://{{host}}/config-dns/v2/proxies/:proxyId

Updates the proxy.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(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

{"contractId"=>"C-0N7RAC7", "healthCheck"=>{"recordName"=>"fqdn.com.", "recordType"=>"MX"}, "id"=>"4de9ce8e-4182-416c-a7d1-8252023df4d3", "name"=>"F5", "originNameservers"=>[{"name"=>"192.0.2.120"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"activationState":"NEW","authorities":[],"contractId":"C-0N7RAC7","createdTime":"2024-03-28T20:55:47.890229Z","healthCheck":{"recordName":"fqdn.com.","recordType":"MX"},"id":"4de9ce8e-4182-416c-a7d1-8252023df4d3","lastModifiedTime":"2024-03-28T20:55:47.890229Z","name":"F5","originNameserverZoneTransferTargets":[],"originNameservers":[{"name":"192.0.2.4"}]}