Skip to content

Commit 2811421

Browse files
Fill APIRequest for ciphers calls
1 parent a613258 commit 2811421

File tree

1 file changed

+45
-20
lines changed
  • src/content/docs/ssl/edge-certificates/additional-options/cipher-suites/customize-cipher-suites

1 file changed

+45
-20
lines changed

src/content/docs/ssl/edge-certificates/additional-options/cipher-suites/customize-cipher-suites/api.mdx

Lines changed: 45 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,14 @@ curl --request PATCH \
5757
```
5858

5959
<APIRequest
60-
path=""
61-
method=""
62-
json={{}}
60+
path="/zones/{zone_id}/settings/{setting_id}"
61+
method="PATCH"
62+
json={{
63+
"value": ["ECDHE-ECDSA-AES128-GCM-SHA256", "ECDHE-ECDSA-CHACHA20-POLY1305", "ECDHE-RSA-AES128-GCM-SHA256", "ECDHE-RSA-CHACHA20-POLY1305", "ECDHE-ECDSA-AES256-GCM-SHA384", "ECDHE-RSA-AES256-GCM-SHA384"]
64+
}}
65+
parameters={{
66+
setting_id: "ciphers"
67+
}}
6368
/>
6469

6570

@@ -81,12 +86,16 @@ curl --request PATCH \
8186
```
8287

8388
<APIRequest
84-
path=""
85-
method=""
86-
json={{}}
89+
path="/zones/{zone_id}/settings/{setting_id}"
90+
method="PATCH"
91+
json={{
92+
"value": ["ECDHE-ECDSA-AES128-GCM-SHA256", "ECDHE-ECDSA-CHACHA20-POLY1305", "ECDHE-RSA-AES128-GCM-SHA256", "ECDHE-RSA-CHACHA20-POLY1305", "ECDHE-ECDSA-AES256-GCM-SHA384", "ECDHE-RSA-AES256-GCM-SHA384", "ECDHE-ECDSA-AES128-SHA256", "ECDHE-RSA-AES128-SHA256", "ECDHE-ECDSA-AES256-SHA384", "ECDHE-RSA-AES256-SHA384"]
93+
}}
94+
parameters={{
95+
setting_id: "ciphers"
96+
}}
8797
/>
8898

89-
9099
</TabItem> <TabItem label="pci dss">
91100

92101
<Render file="ciphers-api-general-notes" />
@@ -105,12 +114,16 @@ curl --request PATCH \
105114
```
106115

107116
<APIRequest
108-
path=""
109-
method=""
110-
json={{}}
117+
path="/zones/{zone_id}/settings/{setting_id}"
118+
method="PATCH"
119+
json={{
120+
"value": ["ECDHE-ECDSA-AES128-GCM-SHA256", "ECDHE-RSA-AES128-GCM-SHA256", "ECDHE-ECDSA-AES256-GCM-SHA384", "ECDHE-RSA-AES256-GCM-SHA384", "ECDHE-ECDSA-CHACHA20-POLY1305", "ECDHE-RSA-CHACHA20-POLY1305"]
121+
}}
122+
parameters={{
123+
setting_id: "ciphers"
124+
}}
111125
/>
112126

113-
114127
:::caution
115128

116129
For compliance with PCI DSS, also [enable TLS 1.3](/ssl/edge-certificates/additional-options/tls-13/#enable-tls-13) on your zone and make sure to up your [Minimum TLS version](/ssl/edge-certificates/additional-options/minimum-tls/) to `1.2`.
@@ -134,9 +147,14 @@ curl --request PATCH \
134147
```
135148

136149
<APIRequest
137-
path=""
138-
method=""
139-
json={{}}
150+
path="/zones/{zone_id}/settings/{setting_id}"
151+
method="PATCH"
152+
json={{
153+
"value": ["AES128-GCM-SHA256", "AES128-SHA", "AES128-SHA256", "AES256-SHA", "AES256-SHA256", "DES-CBC3-SHA", "ECDHE-ECDSA-AES128-GCM-SHA256", "ECDHE-ECDSA-AES128-SHA", "ECDHE-ECDSA-AES128-SHA256", "ECDHE-ECDSA-AES256-GCM-SHA384", "ECDHE-ECDSA-AES256-SHA384", "ECDHE-RSA-AES128-GCM-SHA256", "ECDHE-RSA-AES128-SHA", "ECDHE-RSA-AES128-SHA256", "ECDHE-RSA-AES256-GCM-SHA384", "ECDHE-RSA-AES256-SHA", "ECDHE-RSA-AES256-SHA384"]
154+
}}
155+
parameters={{
156+
setting_id: "ciphers"
157+
}}
140158
/>
141159

142160

@@ -158,9 +176,14 @@ curl --request PATCH \
158176
```
159177

160178
<APIRequest
161-
path=""
162-
method=""
163-
json={{}}
179+
path="/zones/{zone_id}/settings/{setting_id}"
180+
method="PATCH"
181+
json={{
182+
"value": []
183+
}}
184+
parameters={{
185+
setting_id: "ciphers"
186+
}}
164187
/>
165188

166189

@@ -177,9 +200,11 @@ curl --request DELETE \
177200
```
178201

179202
<APIRequest
180-
path=""
181-
method=""
182-
json={{}}
203+
path="/zones/{zone_id}/hostnames/settings/{setting_id}/{hostname}"
204+
method="DELETE"
205+
parameters={{
206+
setting_id: "ciphers"
207+
}}
183208
/>
184209

185210

0 commit comments

Comments
 (0)