Deleting Specified Exchanges in Batches

Updated on 2025-03-26 GMT+08:00

Function

This API is used to delete specified exchanges in batches.

Calling Method

For details, see Calling APIs.

URI

POST /v2/rabbitmq/{project_id}/instances/{instance_id}/vhosts/{vhost}/exchanges

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

instance_id

Yes

String

Instance ID.

vhost

Yes

String

Virtual host name.

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

name

Yes

Array of strings

Names of resources to be deleted.

Response Parameters

None

Example Requests

Deleting specified exchanges in batches

POST /v2/rabbitmq/{project_id}/instances/{instance_id}/vhosts/{vhost}/exchanges

{
  "name" : [ "exchange1", "exchange2" ]
}

Example Responses

None

Status Codes

Status Code

Description

204

Successful

Error Codes

See Error Codes.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback