Deletes a specified instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteInstance

The operation that you want to perform. Set the value to DeleteInstance.

ClusterId String Yes hb-bp16o0pd52e3y582s

The ID of the instance.

ImmediateDeleteFlag Boolean No false

Specifies whether to immediately delete the instance. By default, the instance is moved to the recycle bin.

true: The instance is immediately deleted and is not moved to the recycle bin. Proceed with caution.

false: The instance is not immediately deleted and is moved to the recycle bin. This is the default value.

Response parameters

Parameter Type Example Description
RequestId String 50373857-C47B-4B64-9332-D0B5280B59EA

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DeleteInstance
&ClusterId=hb-bp16o0pd52e3y582s
&<Common request parameters>

Sample success responses

XML format

<RequestId>50373857-C47B-4B64-9332-D0B5280B59EA</RequestId>

JSON format

{
  "RequestId": "50373857-C47B-4B64-9332-D0B5280B59EA"
}

Error codes

For a list of error codes, visit the API Error Center.