跳到主要内容

功能说明

删除评论

请求说明

请求鉴权:接口需要增加验证 Header,请查看 鉴权说明

请求类型POST

请求限频100次/秒

请求地址:https://请求域名/apigateway/moments/comments/del

Content-Typeapplication/json

请求参数

参数数据类型是否必填参数说明
user_idstring操作者用户 ID;最多 32 个字符
moment_idstring朋友圈 ID;最多 32 个字符
comment_idsarray要删除的评论 ID 列表;数组元素最多 32 个字符

请求示例

POST /apigateway/moments/comments/del HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

{
"user_id":"userid1", // 以此用户身份
"moment_id":"momentid1",
"comment_ids":["xxxxx","xxxxxxx"]
}

响应示例

{
"code":0,
"msg":"sucess"
}

响应码

响应码说明