Advanced
Тема интерфейса

Deleting Bindings

Function

This API is used to delete bindings.

URI

DELETE /v2/rabbitmq/{project_id}/instances/{instance_id}/vhosts/{vhost}/exchanges/{exchange}/destination-type/{destination_type}/destination/{destination}/properties-key/{properties_key}/unbinding

Table 1 Path Parameters

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.

exchange

Yes

String

Exchange name.

destination_type

Yes

String

Type of the binding target. The options are Exchange and Queue.

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

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