All Products
Search
Document Center

DowngradeInstance

Last Updated: Jan 15, 2021

DowngradeInstance

Description

Decreases quotas of a specified instance. The new quota must be less than or equal to the selected quota and greater than or equal to the used quota.

Quota:

Users

Minimum number: 1,000,000

Maximum number: 10,000,000

Items

Minimum number: 1,000,000

Maximum number: 10,000,000

QPS for recommendation requests

Minimum value: 10

Maximum value: 500

Method

POST

URI

/openapi/instances/{instanceId}/actions/downgrade

Request parameters

Parameter

Type

Required

Description

userCount

Integer

Yes

The number of users.

itemCount

Integer

Yes

The number of items.

qps

Integer

Yes

The QPS for recommendation requests.

Response parameters

Parameter

Type

Description

RequestId

String

The ID of the request.

Result

Map

The result that is returned.

└InstanceId

String

The ID of the instance.

Sample requests

POST /openapi/instances/airec-cn-xxxxxx/actions/downgrade

Sample success responses

JSON format

{
    "RequestId": "90D6B8F5-FE97-4509-9AAB-367836C51818"
    "Result": {
        "InstanceId": "airec-cn-xxxxxx"
    }
}