Report:delete
注意:该接口需要管理员权限才能调用。
删除举报。
HTTP 请求
DELETE /api/reports/{reportable_type}:{reportable_id}
参数
参数名 | 参数位置 | 类型 | 默认值 | 说明 |
---|---|---|---|---|
reportable_type | path | string | 目标类型 取值范围包括: | |
reportable_id | path | integer | 目标ID |
响应
空数据,通过状态码区分成功还是失败
示例
{
"code": 0,
"data": null
}
参数说明
参数名 | 类型 | 说明 |
---|---|---|
code |
integer |
无任何错误时,状态码为 0 |
data |
object |
该字段为 |