Skip to content

清理队列

接口地址:/v2/quecrule/{version}/openapi/queue/clear

请求方式:POST

请求数据类型:application/json

响应数据类型:*/*

接口描述:

清理队列

请求参数:

参数名称参数说明请求类型是否必须数据类型schema
queueId队列IDquerytrueinteger(int64)
version当前版本,可用值:r1pathtruestring

响应状态:

状态码说明schema
200OKActionResultOfobject
201Created
401Unauthorized
403Forbidden
404Not Found
16002The queue name does not exist
50000service exception
50005param check error
91004token incorrect
91005doesn't have permission

响应参数:

参数名称参数说明类型schema
code返回码integer(int32)integer(int32)
data对象object
msg提示信息string
pageNum当前页数integer(int32)integer(int32)
pageSize每页数量integer(int32)integer(int32)
pages总页数integer(int32)integer(int32)
total总数integer(int32)integer(int32)

响应示例:

javascript
{
	"code": 0,
	"data": {},
	"msg": "",
	"pageNum": 0,
	"pageSize": 0,
	"pages": 0,
	"total": 0
}