Skip to content

Commit 364a45a

Browse files
committed
Add success info
1 parent e0ad3cd commit 364a45a

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/content/partials/cloudflare-one/gateway/get-started/create-dns-policy.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ To create a new DNS policy:
5151
}'
5252
```
5353

54+
If Gateway successfully created the policy, the API will respond with a `success` value of `true`.
55+
5456
</TabItem> </Tabs>
5557

5658
For more information, refer to [DNS policies](/cloudflare-one/policies/gateway/dns-policies/).

src/content/partials/cloudflare-one/gateway/get-started/create-http-policy.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ To create a new HTTP policy:
6060
}'
6161
```
6262

63+
If Gateway successfully created the policy, the API will respond with a `success` value of `true`.
64+
6365
Cloudflare also recommends adding a policy to block [known threats](/cloudflare-one/policies/gateway/domain-categories/#security-categories) such as Command & Control, Botnet and Malware based on Cloudflare's threat intelligence:
6466

6567
```bash title="curl API example"

src/content/partials/cloudflare-one/gateway/get-started/create-network-policy.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ To create a new network policy:
5151
}'
5252
```
5353

54+
If Gateway successfully created the policy, the API will respond with a `success` value of `true`.
55+
5456
</TabItem> </Tabs>
5557

5658
For more information, refer to [network policies](/cloudflare-one/policies/gateway/network-policies/).

0 commit comments

Comments
 (0)