Stop assigning a task

  1. Request
  2. Path parameters
  3. Headers
  4. Request body
  5. Response

Stops assigning a task to users.

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

Path parameters

Parameter Overview
task_id Task ID.
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.
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
}
Copied to clipboard

Response

Contains task data in JSON format.