Distributed Message Service RabbitMQ

Delete Queue

2024-06-27 06:48:08

Interface Protocol

Interface

https://[endpoint].ctapi.ctyun.cn/v1/queue/delete

Request Method

POST

Request Parameters

Required or Not

Parameter Type

Description

prodInstId

Yes

String

Instance ID

vhost

Yes

String

vhost name

name

Yes

String

Queue Name

Response Parameter

Parameter Type

Description

statusCode

String

The status code of the interface on the system layer.   Success: 800; failure: 900.

message

String

Status Description

returnObj

String

Return the object. The parameters included in this   parameter are described in the comments in Response Examples.

Sample Request

`POST https://[endpoint].ctapi.ctyun.cn/v1/queue/delete`

Return Example

 (1) Example of successful response

{

    "returnObj": { "data": null },

    "message": "success",

    "statusCode": "800"

}

(2) Example of failed response

{

    "returnObj": {},

    "message": "...",

    "statusCode": "900"

}


lgvqsmqgCLxL