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

Updates the DNS Forwarding address for the specified account using a JSON Patch Document.

Request Information

Parameters

NameDescriptionAdditional information
accId
The ID of the account we are updating the DNS Forwarding address for.

Define this parameter in the request URI.

dnsForwardAddress
No documentation available.

Define this parameter in the request body.

Request body formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: One or more errors occurred.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: One or more errors occurred.

text/javascript

Sample:

An exception has occurred while using the formatter 'JsonPMediaTypeFormatter' to generate sample for media type 'text/javascript'. Exception message: One or more errors occurred.

application/xml, text/xml

Sample:
<JsonPatchDocumentOfDNSForwardAddressCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Marvin.JsonPatch" />

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 'JsonPatchDocument`1'.

application/bson

Sample:

An exception has occurred while using the formatter 'BsonMediaTypeFormatter' to generate sample for media type 'application/bson'. Exception message: Requested value 'sample string 3' was not found.

Response Information

The updated 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