Call the OnsInstanceDelete operation to delete an ApsaraMQ for RocketMQ instance.
Operation description
This operation is typically used to revoke resources when you unpublish an application. You can delete an instance only if it does not contain any topics or groups.
After an instance is deleted, it cannot be recovered. Call this operation with caution.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mq:DeleteInstance |
*Instance
|
None |
|
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
MQ_INST_188077086902****_BXSuW61e |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. This ID is unique to each request. Use it to troubleshoot and locate issues. |
A07E3902-B92E-44A6-B6C5-6AA111111**** |
Examples
Success response
JSON format
{
"RequestId": "A07E3902-B92E-44A6-B6C5-6AA111111****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.