Toloka documentation

Stop assigning a task

Warning

We recommend that you use the toloka.dev domain for API requests. The toloka.yandex.com domain is still supported but it will be deprecated soon.

Stops assigning a task to Tolokers.

Set the overlap field to 0. For tasks with infinite overlap, change the value of infinite_overlap to false.

Request

PATCH https://sandbox.toloka.dev/api/v1/tasks/<task_id>/set-overlap-or-min
Authorization: OAuth <OAuth token>
Content-Type: application/JSON
PATCH https://toloka.dev/api/v1/tasks/<task_id>/set-overlap-or-min
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

Path parameters

Parameter Overview
task_id Task ID.

Headers

Title Overview
Authorization A token for account authorization. Add OAuth as a prefix.
Content-Type Specifies the data format in the request body.

Request body

{
  "overlap": 0,
  "infinite_overlap": false
}

Response

Contains task data in JSON format.