tencent cloud

APIs

UpgradeTokenPlanTeamOrder

Download
聚焦模式
字号
最后更新时间: 2026-08-25 10:02:54

1. API Description

Domain name for API request: tokenhub.intl.tencentcloudapi.com.

Upgrade the package.

Initiate an upgrade order for an existing Token Plan package and complete payment to expand point or token limits. Return the order ID and associated sub-orders and resource information upon success. The new limit must be greater than the current limit.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: UpgradeTokenPlanTeamOrder.
Version Yes String Common Params. The value used for this API: 2026-03-22.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
TeamId Yes String Package ID. You can obtain it through the DescribeTokenPlanList API.
NewCreditOrToken Yes Integer Limit of the new specification after upgrade. For the enterprise package type, it refers to the point limit. For the enterprise-auto package type, it refers to the Token count. Must be greater than the current limit.

3. Output Parameters

Parameter Name Type Description
BigOrderId String Tencent Cloud order ID. Used to associate all sub-orders under an upgrade operation.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Successful Call

Input Example

POST / HTTP/1.1
Host: tokenhub.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: UpgradeTokenPlanTeamOrder
<Common request parameters>

{
    "TeamId": "tp-ent-abcdefgh",
    "NewCreditOrToken": 1000000
}

Output Example

{
    "Response": {
        "BigOrderId": "big-order-id",
        "RequestId": "1ef43aa6-e830-4174-bfcd-d092e7e59bad"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
InternalError.InternalError InternalError.InternalError
InvalidParameter.InvalidParameter InvalidParameter.InvalidParameter
InvalidParameterValue.InvalidParameterValue InvalidParameterValue.InvalidParameterValue
MissingParameter.MissingParameter MissingParameter.MissingParameter
ResourceNotFound.ResourceNotFound ResourceNotFound.ResourceNotFound
UnauthorizedOperation.UnauthorizedOperation UnauthorizedOperation.UnauthorizedOperation

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈