Deleting Bindings
Function
This API is used to delete bindings.
Calling Method
For details, see Calling APIs.
URI
DELETE /v2/rabbitmq/{project_id}/instances/{instance_id}/vhosts/{vhost}/exchanges/{exchange}/destination-type/{destination_type}/destination/{destination}/properties-key/{properties_key}/unbinding
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID. |
|
instance_id |
Yes |
String |
Instance ID. |
|
vhost |
Yes |
String |
Virtual host name. If the name contains a slash (/), replace it with __F_SLASH__. Otherwise, the calling fails. For example, if the virtual host name is /test, the input parameter is __F_SLASH__test. |
|
exchange |
Yes |
String |
Exchange name. |
|
destination_type |
Yes |
String |
Definition Type of the binding target. Constraints The AMQP version only supports queue bindings. Range
Default Value N/A |
|
destination |
Yes |
String |
Target binding name. |
|
properties_key |
Yes |
String |
URL-translated routing key of the binding. Obtain the routing key from the response of calling the Querying Bindings of an Exchange or Querying Specified Queue Details APIs. |
Request Parameters
None
Response Parameters
Status code: 204
Successful
None
Example Requests
Removing a binding
DELETE /v2/rabbitmq/{project_id}/instances/{instance_id}/vhosts/{vhost}/exchanges/{exchange}/destination-type/{destination_type}/destination/{destination}/properties-key/{properties_key}/unbinding
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
204 |
Successful |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.