All Products
Search
Document Center

ENS:ReleasePostPaidInstance

Last Updated:Mar 12, 2024

Deletes a pay-as-you-go 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
InstanceIdstringYes

The ID of the instance to be deleted. You can specify only one instance ID.

i-instance****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

C0003E8B-B930-4F59-ADC0-0E209A9012A8

Examples

Sample success responses

JSONformat

{
  "RequestId": "C0003E8B-B930-4F59-ADC0-0E209A9012A8"
}

Error codes

HTTP status codeError codeError messageDescription
400InstanceIdNotFoundThe input parameter instancdId that is not found.-
400NoPermissionPermission denied.-
400IncorrectInstanceStatusThe current status of the resource does not support this operation.The current operation is not supported. The disk is being reset.
400CallInterfaceCall Interface Happen Error.An error occurred when you call the operation.
400InstanceIdNotFoundThe input parameter InstanceId that is not found.-
400InvalidParameter.%sThe specified field %s invalid. Please check it again.-

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