Deletes a binding to unbind a queue or an exchange from a source exchange.
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteBinding | The operation that you want to perform. Set the value to DeleteBinding. |
BindingKey | String | Yes | .test. | The binding key. |
BindingType | String | Yes | QUEUE | The type of the object that you want to unbind from the source exchange. Valid values:
|
DestinationName | String | Yes | DemoQueue | The name of the object that you want to unbind from the source exchange. |
InstanceId | String | Yes | amqp-cn-v0h1kb9nu*** | The ID of the Message Queue for RabbitMQ instance. |
SourceExchange | String | Yes | NormalEX | The name of the source exchange. |
VirtualHost | String | Yes | test | The name of the vhost. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 5A60DBD2-2D9D-40EC-BEBF-C86E88817*** | The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteBinding
&BindingKey=.test.
&BindingType=QUEUE
&DestinationName=DemoQueue
&InstanceId=amqp-cn-v0h1kb9nu***
&SourceExchange=NormalEX
&VirtualHost=test
&<Common request parameters>|
Sample success responses
XML
format
<DeleteBindingResponse>
<RequestId>5A60DBD2-2D9D-40EC-BEBF-C86E88817***</RequestId>
</DeleteBindingResponse>
JSON
format
{
"RequestId":"5A60DBD2-2D9D-40EC-BEBF-C86E88817***"
}
Error codes
For a list of error codes, visit the API Error Center.