更新
授权
Token api-token<token>
32位令牌,在控制面板《个人设置 - 令牌管理》页面获取
位置: header
请求主体
application/json
TypeScript 定义
在 TypeScript 中使用 request body 类型。
更新定时任务请求体(id 必填)
响应主体
application/json
curl -X POST "https://example.com/cron/v1/update" \ -H "Content-Type: application/json" \ -d '{}'{ "id": 0, "name": "string", "type": "user", "cron": "string", "shell": "string", "active": 0, "config": "string", "tags": "string", "last_runtime": "string", "last_run_use": 0, "sort": 0, "create_time": "string", "remark": "string", "bind": "string", "is_running": true}
