Create a proxy

POST https://{{host}}/config-dns/v2/proxies?contractId={{contractId}}&gid={{gid}}

Creates a new proxy.

Request Params

KeyDatatypeRequiredDescription
contractIdstring(Required) The contract to use for the proxy.
gidstring(Required) The currently selected group ID to manage.
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"}, "name"=>"F5", "originNameservers"=>[{"name"=>"192.0.2.129"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"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"}]}