---
title: "Cancel a blocking task"
method: POST
path: "/1/crawlers/{id}/tasks/{taskID}/cancel"
tags: ["crawler"]
---

# Cancel a blocking task

`POST /1/crawlers/{id}/tasks/{taskID}/cancel`

Cancels a blocking task.

Tasks that ran into an error will block your crawler's schedule.
To unblock the crawler, cancel the blocking task.

## Path parameters

- `id` string, required — Universally unique identifier (UUID) of the crawler.
- `taskID` string, required — Universally unique identifier (UUID) of the task.

## Response `200`

OK

## Other responses

- `400` — Invalid request.
- `401` — Authorization information is missing or invalid.
- `403` — The user doesn't have enough rights on the specified Crawler, or it doesn't exists.

## Changes

- **2024-04-04** `dc15e81eebdb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/algolia/apis/crawler-api/changes/1/crawlers/:id/tasks/:taskID/cancel/post.md)

---

[API](https://skmtc.dev/algolia/apis/crawler-api.md) · [All operations](https://skmtc.dev/algolia/apis/crawler-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/algolia/crawler-api/revisions/7f1df3bfe8bd/schema)
