Toloka documentation

Stop assigning a task

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.yandex.com/api/v1/tasks/<task_id>/set-overlap-or-min
Authorization: OAuth <OAuth token>
Content-Type: application/JSON
PATCH https://toloka.yandex.com/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.