@@ -69,11 +69,26 @@ def update(
6969 Args:
7070 zone_id: Identifier.
7171
72- setting_id: The TLS Setting name.
72+ setting_id:
73+ The TLS Setting name. The value type depends on the setting:
74+
75+ - `ciphers`: value is an array of cipher suite strings (e.g.,
76+ `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`)
77+ - `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`,
78+ or `"1.3"`)
79+ - `http2`: value is `"on"` or `"off"`
7380
7481 hostname: The hostname for which the tls settings are set.
7582
76- value: The tls setting value.
83+ value: The TLS setting value. The type depends on the `setting_id` used in the request
84+ path:
85+
86+ - `ciphers`: an array of allowed cipher suite strings in BoringSSL format (e.g.,
87+ `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`)
88+ - `min_tls_version`: a string indicating the minimum TLS version — one of
89+ `"1.0"`, `"1.1"`, `"1.2"`, or `"1.3"` (e.g., `"1.2"`)
90+ - `http2`: a string indicating whether HTTP/2 is enabled — `"on"` or `"off"`
91+ (e.g., `"on"`)
7792
7893 extra_headers: Send extra headers
7994
@@ -121,7 +136,14 @@ def delete(
121136 Args:
122137 zone_id: Identifier.
123138
124- setting_id: The TLS Setting name.
139+ setting_id:
140+ The TLS Setting name. The value type depends on the setting:
141+
142+ - `ciphers`: value is an array of cipher suite strings (e.g.,
143+ `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`)
144+ - `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`,
145+ or `"1.3"`)
146+ - `http2`: value is `"on"` or `"off"`
125147
126148 hostname: The hostname for which the tls settings are set.
127149
@@ -169,7 +191,14 @@ def get(
169191 Args:
170192 zone_id: Identifier.
171193
172- setting_id: The TLS Setting name.
194+ setting_id:
195+ The TLS Setting name. The value type depends on the setting:
196+
197+ - `ciphers`: value is an array of cipher suite strings (e.g.,
198+ `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`)
199+ - `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`,
200+ or `"1.3"`)
201+ - `http2`: value is `"on"` or `"off"`
173202
174203 extra_headers: Send extra headers
175204
@@ -233,11 +262,26 @@ async def update(
233262 Args:
234263 zone_id: Identifier.
235264
236- setting_id: The TLS Setting name.
265+ setting_id:
266+ The TLS Setting name. The value type depends on the setting:
267+
268+ - `ciphers`: value is an array of cipher suite strings (e.g.,
269+ `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`)
270+ - `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`,
271+ or `"1.3"`)
272+ - `http2`: value is `"on"` or `"off"`
237273
238274 hostname: The hostname for which the tls settings are set.
239275
240- value: The tls setting value.
276+ value: The TLS setting value. The type depends on the `setting_id` used in the request
277+ path:
278+
279+ - `ciphers`: an array of allowed cipher suite strings in BoringSSL format (e.g.,
280+ `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`)
281+ - `min_tls_version`: a string indicating the minimum TLS version — one of
282+ `"1.0"`, `"1.1"`, `"1.2"`, or `"1.3"` (e.g., `"1.2"`)
283+ - `http2`: a string indicating whether HTTP/2 is enabled — `"on"` or `"off"`
284+ (e.g., `"on"`)
241285
242286 extra_headers: Send extra headers
243287
@@ -285,7 +329,14 @@ async def delete(
285329 Args:
286330 zone_id: Identifier.
287331
288- setting_id: The TLS Setting name.
332+ setting_id:
333+ The TLS Setting name. The value type depends on the setting:
334+
335+ - `ciphers`: value is an array of cipher suite strings (e.g.,
336+ `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`)
337+ - `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`,
338+ or `"1.3"`)
339+ - `http2`: value is `"on"` or `"off"`
289340
290341 hostname: The hostname for which the tls settings are set.
291342
@@ -333,7 +384,14 @@ def get(
333384 Args:
334385 zone_id: Identifier.
335386
336- setting_id: The TLS Setting name.
387+ setting_id:
388+ The TLS Setting name. The value type depends on the setting:
389+
390+ - `ciphers`: value is an array of cipher suite strings (e.g.,
391+ `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`)
392+ - `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`,
393+ or `"1.3"`)
394+ - `http2`: value is `"on"` or `"off"`
337395
338396 extra_headers: Send extra headers
339397
0 commit comments