Skip to main content
POST
/
api
/
v1
/
tasks
/
{taskId}
/
force-fail
Force fail task
curl --request POST \
  --url http://localhost:3000/api/v1/tasks/{taskId}/force-fail \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "failed": true
  }
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.

Path Parameters

taskId
string
required

Response

Task force-failed

ok
boolean
required
data
object
required