PUT /accounts/{account_id}/secondary_dns/peers/{peer_id}
Modify Peer.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
peer_id |
String | Yes | |
account_id |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes | |
port |
Number | No |
DNS port of primary or secondary nameserver, depending on what zone this peer is linked to. |
name |
String | Yes |
The name of the peer. |
ixfr_enable |
Boolean | No |
Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones. |
tsig_id |
String | No |
TSIG authentication will be used for zone transfer if configured. |
ip |
String | No |
IPv4/IPv6 address of primary or secondary nameserver, depending on what zone this peer is linked to. For primary zones this IP defines the IP of the secondary nameserver Cloudflare will NOTIFY upon zone changes. For secondary zones this IP defines the IP of the primary nameserver Cloudflare will send AXFR/IXFR requests to. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.