Updated on 2025-12-04 GMT+08:00

Renewing a FlexusL Instance

Function

This API is used to renew a yearly/monthly FlexusL instance when it is about to expire. This section lists the key information about API usage. For more information, see Renewing Subscription to Yearly/Monthly Resources.

Constraints

This API can be called only by the customer AK/SK or token.

Debugging

You can debug this API in API Explorer.

Authorization

Each account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned. For details about the required permissions, see Permissions and Supported Actions.

URI

POST /v2/orders/subscriptions/resources/renew

Request

For details about the request parameters, see Request. In the request message, resource_ids indicates the FlexusL instance ID, which can be obtained in Querying Created FlexusL Instances.

Example Request

Renew the FlexusL instance whose ID is 6743d0e3708be6007b8c8012 for one month.

{
 "resource_ids": [
  "6743d0e3708be6007b8c8012"
 ],
 "period_type": 2,
 "period_num": 1
}

Example Response

{
 "order_ids": [
  "CS241125185460CZY"
 ],
 "fail_resource_infos": []
}

Status Code

For details, see Returned Values.