Stop assigning a task

Attention

The toloka.yandex.com domain will be disabled starting April 1, 2023. Please use the toloka.dev domain for API requests.

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

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

Path parameters

ParameterOverview
task_idTask ID.

Headers

TitleOverview
AuthorizationA token for account authorization. Add OAuth as a prefix.
Content-TypeSpecifies the data format in the request body.

Request body

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

Response

Contains task data in JSON format.

Contact support
Toloka API
OverviewAccessing the APIRate limiting
Quick start
Reference
Project
Pools
Training
Subscriptions to events
Toloker selection
Ways to upload tasks
Tasks
Task suites
Tracking operations
Getting responses
Checking completed tasks
Rewards
Messages for Tolokers
Various parameters
Libraries