Renew CRS Instance

Last updated: 2020-06-04 18:18:13


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new Redis API 3.0 which is standardized and faster.

    1. API Description

    This API (RenewRedis) is used to renew an instance.
    Domain name for API request:

    2. Input Parameters

    The following request parameter list only provides API request parameters. Common request parameters are also needed when the API is called. For more information, please see Common Request Parameters page. The Action field for this API is RenewRedis.

    Parameter Name Required Type Description
    redisId Yes String Instance ID. It can be queried with the API Query CRS Instance List
    period Yes Int Purchased usage period (in month). Value range: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36]

    3. Output Parameters

    Parameter Name Type Description
    code Int Common error code; 0: Succeeded; other values: Failed.
    message String Error message description. A null value indicates a success
    codeDesc String Description of error code at business side. For a successful operation, "Success" will be returned. In case of an error, a message describing the reason for the error will be returned.
    data Array Returned array of orders

    Array data is composed as follows:

    Parameter Name Type Description
    data.dealId String Unique order ID

    4. Error Codes

    The following error codes include the business logic error codes for this API.

    Error Code Error Message Error Description
    10701 InstanceNotExists No instance can be found for the serialId
    11055 InstanceDeleted The instance has been reclaimed upon expiration
    11056 InstanceBeenLocked The operation is impossible because the instance is locked by another process
    11065 PeriodExceedMaxLimit The purchased usage period exceeds the maximum usage period
    11066 PeriodLessThanMinLimit The purchased usage period is less than the minimum usage period
    100207 OperationConstraints.AccountBalanceNotEnough Insufficient account balance. Please top it up.

    5. Example

    &<Common Request Parameters>


        "codeDesc": "Success",

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback