You can call this operation to delete a Message Queue for Apache Kafka instance.


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.
InstanceId String Yes alikafka_post-cn-mp919o4v****

The ID of the Message Queue for Apache Kafka instance to be deleted.

RegionId String Yes cn-hangzhou

The ID of the region where the Message Queue for Apache Kafka instance is to be deleted.

Response parameters

Parameter Type Example Description
Code Integer 200

The returned status code. If "200" is returned, the request is successful.

Message String operation success.

The returned message.

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

The ID of the request.

Success Boolean true

Indicates whether the request is successful.


Sample requests

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

Sample success responses

XML format

<Message>operation success. </Message>

JSON format

    "Message":"operation success.",

Error codes

HTTP status code Error code Error message Description
500 InternalError An internal error occurred; please try again later. The error message returned because an internal error has occurred. Try again later.

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