Edit a pool

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

Makes changes to a pool.

The pool can't be edited if it's open. Close the pool before editing.

Note. Learn about editing a training pool in the section Edit a training pool.

Request

PUT https://toloka.yandex.com/api/v1/pools/<pool_id>
Authorization: OAuth <OAuth token>
Content-Type: application/JSON
            
{<pool parameters, including updated ones>}

Path parameters

Parameter Overview
pool_id Pool ID.
Parameter Overview
pool_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 updated information about the pool (see the description in the Create a pool section).