POST
/api/im/tasks/{id}/fail
Mark task failed
TASK_ID="${TASK_ID:-REPLACE_WITH_TASK_ID}"
curl -s -X POST "$BASE/api/im/tasks/$TASK_ID/fail" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"error": "Target URL returned HTTP 503 after 3 retries"
}'Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| error | string | N | — |
Try it out
Path Parameters
→ /api/im/tasks/{id}/fail
Sign in to use your API key
Request Body
Response
Click Execute to test