Create a proxy
POST https://{{host}}/config-dns/v2/proxies?contractId={{contractId}}&gid={{gid}}
Creates a new proxy.
Body
PARAM
Key | Datatype | Required | Description |
contractId
|
string | (Required) The contract to use for the proxy. | |
gid
|
string | (Required) The currently selected group ID to manage. | |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status Created
{
"activationState": "NEW",
"authorities": [],
"contractId": "C-0N7RAC7",
"createdTime": "2024-03-28T20:55:47.890229Z",
"healthCheck": {
"recordName": Curl curl -X POST 'https://host/config-dns/v2/proxies?contractId=&gid=?contractId=&gid=&accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"contractId":"C-0N7RAC7","healthCheck":{"recordName":"fqdn.com.","recordType":"MX"},"name":"F5","originNameservers":[{"name":"192.0.2.129"}]}' ENDPOINTS |