Skip to content

Commit

Permalink
Update cancel task API reference (#3080)
Browse files Browse the repository at this point in the history
Fixes #2818
  • Loading branch information
RecreationalMath authored Dec 17, 2024
1 parent 00d08ff commit 6bfb065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/api/tasks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ If you try retrieving a deleted task, Meilisearch will return a [`task_not_found

<RouteHighlighter method="POST" route="/tasks/cancel?{query_parameter}"/>

Cancel any number of `enqueued` or `processing` tasks based on their `uid`, `status`, `type`, `indexUid`, or the date at which they were enqueued, processed, or completed.
Cancel any number of `enqueued` or `processing` tasks based on their `uid`, `status`, `type`, `indexUid`, or the date at which they were enqueued (`enqueuedAt`) or processed (`startedAt`).

Task cancellation is an atomic transaction: **either all tasks are successfully canceled or none are**.

Expand Down

0 comments on commit 6bfb065

Please sign in to comment.