All Products
Search
Document Center

ENS:ModifyPrepayInstanceSpec

Last Updated:Mar 12, 2024

Upgrades or downgrades the instance type of a subscription Edge Node Service (ENS) instance. The new instance type takes effect for the remaining lifecycle of the instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringNo

The ID of the instance that you want to upgrade or downgrade.

i-bp67acfmxazb4p****
InstanceTypestringNo

The updated configuration.

ens.sn1.tiny

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

FD94C8E8-128E-525C-A0C3-60E063B70330

Examples

Sample success responses

JSONformat

{
  "RequestId": "FD94C8E8-128E-525C-A0C3-60E063B70330"
}

Error codes

HTTP status codeError codeError message
400Missing%sYou must specify the parameter %s.
400NoPermissionPermission denied.
400InvalidParameter.%sThe specified field %s invalid. Please check it again.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history