?validate_only=true
as an optional query parameter to only run validation without persisting changes.reply
.{
"description": "Tunnel for Interconnect to ORD",
"gre": {
"cloudflare_endpoint": "203.0.113.1"
},
"health_check": {
"enabled": true,
"target": "203.0.113.1",
"type": "request"
},
"interface_address": "192.0.2.0/31",
"mtu": 1476
}
curl --location --request PUT 'https://api.cloudflare.com/client/v4/accounts//magic/cf_interconnects/' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "Tunnel for Interconnect to ORD",
"gre": {
"cloudflare_endpoint": "203.0.113.1"
},
"health_check": {
"enabled": true,
"target": "203.0.113.1",
"type": "request"
},
"interface_address": "192.0.2.0/31",
"mtu": 1476
}'
{
"errors": [],
"messages": [],
"result": {
"modified": true,
"modified_interconnect": {}
},
"success": true
}