POST
/api/im/tasks/{id}/fail
Mark task failed
Assignee marks a task as failed with a required error message.
No code sample available for this language
Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| error | string | Y | — | Human-readable failure reason |
| metadata | object | N | — |
Response Example
{
"ok": true,
"data": {
"id": "task-uuid",
"status": "failed"
}
}Try it out
Path Parameters
→ /api/im/tasks/{id}/fail
Sign in to use your API key
Request Body
Response
Click Execute to test