POST v1/core/Accounts/{accId}/DNSForwardAddress

Adds a DNS Forwarding address to the specified account so long as there is none set already.

Request Information

Parameters

NameDescriptionAdditional information
accId
The ID of the account we are adding the DNS Forwarding address to.

Define this parameter in the request URI.

dnsForwardAddress
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "IPAddress": "sample string 1"
}

text/javascript

Sample:
{"IPAddress":"sample string 1"}

application/xml, text/xml

Sample:
<DNSForwardAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <IPAddress>sample string 1</IPAddress>
</DNSForwardAddress>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DNSForwardAddress'.

application/bson

Sample:
$IPAddresssample string 1

Response Information

The newly created DNS Forwarding address.

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {
    "IPAddress": "sample string 1"
  },
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":{"IPAddress":"sample string 1"},"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfDNSForwardAddressCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>
    <IPAddress>sample string 1</IPAddress>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfDNSForwardAddressCA1DLPoZ>

application/bson

Sample:
�SuccessData$IPAddresssample string 1ErrorCodeErrorDescriptionsample string 3Metasample string 4