Releases an ApsaraDB for HBase instance.

Before you call this API operation, make sure that the ApsaraDB for HBase instance meets the following requirements:

  • The instance is in the Running state.
  • The billing method of the instance is pay-as-you-go.
Note You cannot call this API operation to release a subscription instance. Subscription instances are automatically released upon expiration. To release a subscription instance before it expires, submit a ticket.

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-bp16o0pd52e3y****

The ID of the instance that you want to release.

ImmediateDeleteFlag Boolean No false

Specifies whether to release the instance immediately.

  • true: releases the instance immediately.
  • false: does not release the instance immediately. The instance 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)://hbase.aliyuncs.com/?Action=DeleteInstance
&ClusterId=hb-bp16o0pd52e3y****
&<Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

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