取消关注任务组
/v1/entries/:entry_id/watcher-
URL
https://api.worktile.com/v1/entries/:entry_id/watcher
-
HTTP请求方式
DELETE
-
支持格式
JSON
Header参数
{ "Content-Type":"application/json", "access_token":"xxx" }
示例
curl -I -X DELETE https://api.worktile.com/v1/entries/adsa7sa6/watcher?pid=xxx&access_token=xxx
-
HTTP请求参数
参数 必选 类型 说明 entry_id true string 任务组id pid true string 项目pid access_token true string OAuth授权后获得,请求时可放在header中 -
返回数据
示例
HTTP/1.1 200 ok
{ "success":true }
返回值字段 类型 说明 success boolean true: 取消关注成功 -
异常结果
示例
HTTP/1.1 401 Unauthorized
{ "error_code":100005, "error_message":"没授权,请授权后再操作", "request":"/v1/entries/:entry_id/watcher" }
错误码(error_code) 错误信息(error_message) http状态码(statusCode) 100005 没授权,请授权后再操作 401 100006 access_token不正确 400 500008 取消关注任务组失败 500