Deletes a Message Queue for Apache RocketMQ instance.

When you call this operation, note that:

  • By default, only Alibaba Cloud accounts can call this operation. Resource Access Management (RAM) users can call this operation only after the RAM users are authorized.
  • A Message Queue for Apache RocketMQ instance can be deleted only when no topics and group IDs exist in the 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 OnsInstanceDelete

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

InstanceId String Yes MQ_INST_188077086902****_BXSuW61e

The ID of the Message Queue for Apache RocketMQ instance.

Response parameters

Parameter Type Example Description
RequestId String A07E3902-B92E-44A6-B6C5-6AA111111****

The ID of the request.


Sample requests

http(s):// Action=OnsInstanceDelete
&<Common request parameters>

Sample success responses

XML format


JSON format