Interface Protocol
Interface | https://[endpoint].ctapi.ctyun.cn/v1/exchange/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
`DELETE https://[endpoint].ctapi.ctyun.cn/v1/exchange/delete`
Return Example
(1) Example of successful response
{
"returnObj": { "data": null },
"message": "success",
"statusCode": "800"
}
(2) Example of failed response
{
"returnObj": {"data": "{\"error\":\"not_found\",\"reason\":\"vhost_not_found\"}"},
"message": "...",
"statusCode": "900"
}