Updated on 2025-01-06 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.

URI

POST /v2/orders/subscriptions/resources/renew

Request Message

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 a Created FlexusL Instance.

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.