Skip to content

Commit 8d7717a

Browse files
Fill in only for first case in origin-configuration/index
1 parent 44c3955 commit 8d7717a

File tree

1 file changed

+8
-18
lines changed
  • src/content/docs/ssl/origin-configuration/ssl-modes

1 file changed

+8
-18
lines changed

src/content/docs/ssl/origin-configuration/ssl-modes/index.mdx

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,14 @@ If you want to opt a zone out via the API, you can make this API call on or befo
6262

6363

6464
<APIRequest
65-
path=""
66-
method=""
67-
json={{}}
65+
path="/zones/{zone_id}/settings/{setting_id}"
66+
method="PATCH"
67+
json={{
68+
"value":"custom"
69+
}}
70+
parameters={{
71+
setting_id: "ssl_automatic_mode"
72+
}}
6873
/>
6974

7075

@@ -84,14 +89,6 @@ If you wanted to opt out multiple zones:
8489
--header 'Content-Type: application/json'
8590
```
8691

87-
88-
<APIRequest
89-
path=""
90-
method=""
91-
json={{}}
92-
/>
93-
94-
9592
3. Create a list of zone IDs you want to opt-out with each zone ID on a separate line (newline separate), stored in a file such as `zones.txt`.
9693
4. Create a bash script for `opt-out-multiple-zones.sh` and add the following. Add `zones.txt` to the same directory or update the path accordingly.
9794

@@ -110,13 +107,6 @@ If you wanted to opt out multiple zones:
110107
```
111108

112109

113-
<APIRequest
114-
path=""
115-
method=""
116-
json={{}}
117-
/>
118-
119-
120110
5. Open your command line and run:
121111

122112
```bash

0 commit comments

Comments
 (0)