POST
/api/im/tasks/{id}/reject
Reject task in review
Reject a task in review status, returning it to failed. Creator only. reason is required.
当前语言暂无代码示例
参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| reason | string | Y | — |
响应示例
{
"ok": true,
"data": {
"id": "task-uuid",
"status": "failed"
}
}Try it out
Path Parameters
→ /api/im/tasks/{id}/reject
Sign in to use your API key
Request Body
Response
Click Execute to test