Toloka documentation

Edit a training pool

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.

Makes changes to a training pool.

Note

Learn about editing a main pool in the section Edit pool.

Request

PUT https://toloka.dev/api/v1/trainings/<training_id>
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

{<training parameters, including updated ones>}
PUT https://sandbox.toloka.dev/api/v1/trainings/<training_id>
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

{<training parameters, including updated ones>}

Path parameters

Parameter Overview
training_id Pool 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

In the request body, specify all the pool parameters, including those that are updated.

Response

Contains information about a modified training pool (see the description in the Create a training pool section).