diff --git a/src/content/partials/magic-wan/connector/create-site.mdx b/src/content/partials/magic-wan/connector/create-site.mdx index 4ad11c6d1ea601..d166c54dfd2fdb 100644 --- a/src/content/partials/magic-wan/connector/create-site.mdx +++ b/src/content/partials/magic-wan/connector/create-site.mdx @@ -41,10 +41,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/magic/sites \ --header "X-Auth-Key: " \ --header "Content-Type: application/json" \ --data '{ - "site": { - "description": "", - "name": "" - } + "name": "" + "description": "", }' ``` @@ -105,12 +103,10 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/magic/sites/{sit --header "X-Auth-Key: " \ --header "Content-Type: application/json" \ --data '{ - "wan": { - "description": "", - "physport": 1, - "priority": 0, - "vlan_tag": 0 - } + "name": "", + "physport": 1, + "priority": 0, + "vlan_tag": 0 }' ``` @@ -161,14 +157,12 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/magic/sites/{sit --header "X-Auth-Key: " \ --header "Content-Type: application/json" \ --data '{ - "lan": { - "description": "", - "physport": 2, - "static_addressing": { - "address": "172.16.14.0/24" - }, - "vlan_tag": 0 - } + "name": "", + "physport": 2, + "static_addressing": { + "address": "172.16.14.0/24" + }, + "vlan_tag": 0 }' ```