Skip to content

Commit 42c99b1

Browse files
Review occurrences and remove old bash codeblock
1 parent c437262 commit 42c99b1

File tree

3 files changed

+2
-42
lines changed

3 files changed

+2
-42
lines changed

src/content/docs/aegis/setup.mdx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,6 @@ Cloudflare Aegis is available in early access to Enterprise customers. Contact y
2727
- Specify `aegis` as the setting ID in the URL.
2828
- In the request body, set `enabled` to `true` and use the ID from the previous step as `pool_id`.
2929

30-
```bash
31-
--data '{
32-
"id": "aegis",
33-
"value": {
34-
"enabled": true,
35-
"pool_id": "<YOUR_EGRESS_POOL_ID>"
36-
},
37-
}'
38-
```
39-
4030
<APIRequest
4131
path="/zones/{zone_id}/settings/{setting_id}"
4232
method="PATCH"

src/content/docs/byoip/address-maps/setup.mdx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,6 @@ Default SNI for Spectrum can only be created via API using the [Create Address M
6565

6666
Do not include any membership in your command. Your API command should resemble the following:
6767

68-
```bash
69-
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/addressing/address_maps \
70-
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
71-
--header "Content-Type: application/json" \
72-
--data '{
73-
"description": "default_sni",
74-
"default_sni": "sni.example.com",
75-
"enabled": false,
76-
"ips": [
77-
"192.0.0.1"
78-
],
79-
"memberships": []
80-
}'
81-
```
82-
8368
<APIRequest
8469
path="/accounts/{account_id}/addressing/address_maps"
8570
method="POST"

src/content/docs/byoip/service-bindings/magic-transit-with-cdn.mdx

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ At this point, continuing the [example](#before-you-begin), you should have a ma
6666

6767
<Example>
6868

69-
```bash
70-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/addressing/prefixes/{prefix_id}/bindings \
71-
--header "Authorization: Bearer <API_TOKEN>"
72-
```
73-
7469
<APIRequest
7570
path="/accounts/{account_id}/addressing/prefixes/{prefix_id}/bindings"
7671
method="GET"
@@ -92,16 +87,6 @@ Continuing the example, `203.0.113.100/32` designates an IP address that is with
9287

9388
Replace the `{prefix_id}` in the URI with your prefix ID from previous steps. Within the request body, the `cidr` value should correspond to the IP address or subnet that you are configuring for use with CDN.
9489

95-
```bash
96-
97-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/addressing/prefixes/{prefix_id}/bindings \
98-
--header "Authorization: Bearer <API_TOKEN>" \
99-
--header "Content-Type: application/json" \
100-
--data '{
101-
"cidr": "203.0.113.100/32",
102-
"service_id": <SERVICE_ID>
103-
}'
104-
```
10590

10691
<APIRequest
10792
path="/accounts/{account_id}/addressing/prefixes/{prefix_id}/bindings"
@@ -121,11 +106,11 @@ In the response body, the initial provisioning state should be `provisioning`.
121106
"success": true,
122107
"result": {
123108
"cidr": "203.0.113.100/32",
124-
"id": <CDN_SERVICE_BINDING_ID>,
109+
"id": "<CDN_SERVICE_BINDING_ID>",
125110
"provisioning": {
126111
"state": "provisioning"
127112
},
128-
"service_id": <SERVICE_ID>,
113+
"service_id": "<SERVICE_ID>",
129114
"service_name": "CDN"
130115
}
131116
}

0 commit comments

Comments
 (0)