Deletes an exchange.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteExchange

The operation that you want to perform.

Set the value to DeleteExchange.

ExchangeName String Yes DemoExchange

The name of the exchange.

InstanceId String Yes amqp-cn-v0h1kb9nu***

The ID of the instance.

RegionId String Yes cn-hangzhou

The ID of the region.

VirtualHost String Yes test

The name of the vhost.

Response parameters

Parameter Type Example Description
RequestId String 6961FFB8-6358-4EDC-9E3C-4A0C56CE6***

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "6961FFB8-6358-4EDC-9E3C-4A0C56CE6***"

Error codes

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