Deleting Specified Virtual Hosts in Batches
Function
This API is used to delete specified virtual hosts in batches.
URI
POST /v2/rabbitmq/{project_id}/instances/{instance_id}/vhosts
Parameter | Mandatory | Type | Description |
---|---|---|---|
project_id | Yes | String | Project ID. For details, see Obtaining a Project ID. |
instance_id | Yes | String | Instance ID. |
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
name | Yes | Array of strings | Names of resources to be deleted. |
Response Parameters
None
Example Requests
Deleting specified virtual hosts in batches
POST https://{endpoint}/v2/rabbitmq/{project_id}/instances/{instance_id}/vhosts{"name" : [ "vhost1", "vhost2" ]}
Example Responses
None
Status Codes
Status Code | Description |
---|---|
204 | Successful |
Error Codes
See Error Codes.
Parent topic: Virtual Host Management
- URI