Stop assigning a task

To stop assigning tasks to users, send a PATCH request to the resource /tasks/<task ID>/set-overlap-or-min. Set the overlap field to “0”. For tasks with infinite overlap, change the value of infinite_overlap to “false”.

Request

PATCH /api/v1/tasks/<id задания>/set-overlap-or-min
Host: https://sandbox.toloka.yandex.ru
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

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

Response

Contains task data in JSON format.