Edit a training pool
Makes changes to a training pool.
Note. Learn about editing a main pool in the section Edit pool.
Request
PUT https://toloka.yandex.com/api/v1/trainings/<training_id>
Authorization: OAuth <OAuth token>
Content-Type: application/JSON
{<training parameters, including updated ones>}
PUT https://sandbox.toloka.yandex.com/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. |
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. |
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).