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

FieldTypeReqDefaultDescription
idstringY

Request Body

FieldTypeReqDefaultDescription
errorstringYHuman-readable failure reason
metadataobjectN

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