Skip to content

Commit 67e8e9b

Browse files
authored
Update edit-main-settings.mdx
1 parent 7927349 commit 67e8e9b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/content/docs/en/pages/secure-journey/edit-zone/edit-main-settings.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,10 @@ Once you're done configuring your main settings, you can add records to your Edg
120120

121121

122122
```bash
123-
curl --location 'https://api.azionapi.net/intelligent_dns' \
124-
--header 'Authorization: Token [TOKEN VALUE]' \
125-
--header 'Accept: application/json; version=3'
123+
curl --request GET \
124+
--url https://api.azion.com/v4/dns/zones \
125+
--header 'Accept: application/json' \
126+
--header 'Authorization: [TOKEN VALUE]'
126127
```
127128

128129
2. Run the following `PATCH` request in your terminal, replacing `[TOKEN VALUE]` with your [personal token](/en/documentation/products/guides/personal-tokens/) and `<zoneId>` with the id of the DNS Zone to edit an existing zone:
@@ -150,4 +151,4 @@ curl --request PATCH \
150151

151152
</Tabs>
152153

153-
---
154+
---

0 commit comments

Comments
 (0)