You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
TLS version
PutBucketHttpsConfig
Copy page
Download PDF
PutBucketHttpsConfig
Feature description​
This interface is used to enable or disable the TLS version setting feature.​
Request syntax​
​
PUT /?httpsConfig HTTP/1.1​
Host: bucketname.tos-cn-beijing.volces.com​
Date: GMT Date​
Authorization: authorization string​
<Optional Additional Header>​
​
{​
"TLS": {​
"Enable": true,​
"MinTLSVersion": "TLSv1.0",​
"MaxTLSVersion": "TLSv1.2"​
}​
}​
​
Request parameters and headers​
This request uses common request headers. See Common parameters.​
​
Name​
Location​
Type​
Required​
Sample value​
Description​
httpsConfig​
Query​
String​
Yes​
-​
Special identifier representing the PutBucketHttpsConfig request.​
​
Request body elements​
​
Name​
Type​
Required​
Sample value​
Note​
TLS​
Object​
Yes​
-​
TLS version rules.​
Enable​
Boolean​
Yes​
true​
Indicates whether to enable the TLS version setting function, with the following values:​
  • true: enable the TLS version setting function.​
  • false: disable the TLS version setting function.​
MinTLSVersion​
String​
No, required when TLS version setting is enabled​
TLSv1.0​
The minimum TLS version, options are TLSv1.0, TLSv1.1, TLSv1.2, and TLSv1.3.​
MaxTLSVersion​
String​
No, required when TLS version setting is enabled​
TLSv1.2​
The maximum TLS version, options are TLSv1.0, TLSv1.1, TLSv1.2, and TLSv1.3.​
​
Response headers​
This request returns common response headers. See Common parameters.​
Response body elements​
No message elements in this response.​
Sample request​
​
PUT /?httpsConfig HTTP/1.1​
Host: bucketname.tos-cn-beijing.volces.com​
Date: Fri, 30 Jul 2021 08:05:36 +0000​
Authorization: authorization string​
<Optional Additional Header>​
​
{​
"TLS": {​
"Enable": true,​
"MinTLSVersion": "TLSv1.0",​
"MaxTLSVersion": "TLSv1.2"​
}​
}​
​
Sample response​
​
HTTP/1.1 200 OK​
Date: Fri, 30 Jul 2021 13:53:55 GMT​
Server: TosServer​
x-tos-id-2: 1e89f203jld00006-a444fd0​
x-tos-request-id: 1e89f203b2d00006-a444ed0​
​
​
Last updated: 2025.09.08 17:32:51