Releases a pay-as-you-go Message Queue for Apache Kafka instance.

This operation is not supported for subscription instances.


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 ReleaseInstance

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


InstanceId String Yes alikafka_post-cn-mp919o4v****

The ID of the instance that you want to release.

RegionId String Yes cn-hangzhou

The ID of the region where the instance is located.

ForceDeleteInstance Boolean No false

Specifies whether to immediately release the physical resources of the instance. Valid values:

  • true: Immediately release the physical resources of the instance.
  • false: Retain the physical resources of the for a period of time before releasing them.

Response parameters

Parameter Type Example Description
Code Integer 200

The response code. The HTTP 200 code indicates that the request was successful.

Message String operation success.

The response message.

RequestId String ABA4A7FD-E10F-45C7-9774-A5236015A***

The ID of the request.

Success Boolean true

Indicates whether the request was successful.


Sample requests

http(s)://[Endpoint]/? Action=ReleaseInstance
&<Common request parameters>

Sample success responses

XML format

      <Message>operation success. </Message>

JSON format

    "Message":"operation success.",

Error codes

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