删除提醒时间
DELETE
/open-apis/task/v1/tasks/{task_id}/reminders/{reminder_id}
自建应用商店应用
错误码
HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
403 | 1470403 | The identity token is incorrect. It should be either user_access_token or tenant_access_token. | 发起请求方的身份token不正确,需要为UserAccessToken或TenantAccessToken其中一种 |
400 | 1470602 | Invalid task id. | 请检查任务的 id 是否合法 |
404 | 1470720 | task reminder time not found | 任务提醒设置没有找到,请检查 reminder id 的有效性 |
500 | 1470722 | failed to delete task reminder time | 删除任务提醒时间失败,请结合返回的具体错误进行排查。如果无法解决,请提供 request id 并联系飞书技术人员协助排查 |
400 | 1470450 | request too fast | 当前同时发起的请求过多,峰值较高导致了限流,请稍后重新尝试 |
400 | 1470451 | Operation requests for the same task are too frequent. | 对同一个任务的操作请求太频繁,需要降低请求频次 |
400 | 1470404 | be refused to create or update task, perhaps you have no permission | 一般是因为操作者没有操作权限,导致更新任务或其他更新任务的操作失败。如,任务的关注者没有权限修改任务。 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://open.feishu.cn/open-apis/task/v1/tasks/83912691-2e43-47fc-94a4-d512e03984fa/reminders/1' \
--header 'Authorization;'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": {}
}
请求参数
Path 参数
task_id
必需
示例值:
83912691-2e43-47fc-94a4-d512e03984fa
reminder_id
必需
示例值:
1
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
返回响应
修改于 2023-02-02 08:02:26