Skip to content

Commit 6bfb065

Browse files
Update cancel task API reference (#3080)
Fixes #2818
1 parent 00d08ff commit 6bfb065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/api/tasks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ If you try retrieving a deleted task, Meilisearch will return a [`task_not_found
343343

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

346-
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.
346+
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`).
347347

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

0 commit comments

Comments
 (0)