Deletes a virtual host (vhost).
Operation description
Before you delete a vhost, you must delete all exchanges and queues in it.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
amqp:DeleteVhost |
delete |
*Instance
|
None |
|
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the ApsaraMQ for RabbitMQ instance. |
amqp-cn-v0h1kb9nu*** |
| VirtualHost |
string |
Yes |
The name of the vhost to delete. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4311050D-BD63-48F9-822B-947A75A1*** |
Examples
Success response
JSON format
{
"RequestId": "4311050D-BD63-48F9-822B-947A75A1***"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.