tencent cloud

Multi-version API Access
Last updated: 2023-02-21 10:41:36
Multi-version API Access
Last updated: 2023-02-21 10:41:36
By default, TCCLI accesses the latest version of APIs. However, some products have multiple versions of APIs. To access an API of a specific earlier version, refer to this document.

Directions

Taking Cloud Virtual Machine (CVM) as an example, run the following command to set the default API version to 2017-03-12:
tccli configure set cvm.version 2017-03-12
Run the following commands to specify the API version in real time:
tccli cvm help --version 2017-03-12
tccli cvm DescribeZones help --version 2017-03-12
tccli cvm DescribeZones --version 2017-03-12
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback