Editing a segment

Modifies the specified segment.

  1. Request syntax
  2. In the request body
  3. Response format

Request syntax

segmentId – ID of the segment you want to edit.

https://api-audience.yandex.ru/v1/management/segment/{segmentId}
 ? 

In the request body


{
    "segment" : {
        "name" :  < string > 
    }
}
Parameters Description
segment The segment with the specified parameters.
segment
name Segment name.
Parameters Description
segment The segment with the specified parameters.
segment
name Segment name.

Sample request

PUT https://api-audience.yandex.ru/v1/management/segment/{segmentId}?

Response format


{
    "segment" :  < segment > 
}
Parameters Description
segment The segment with the specified parameters.
Parameters Description
segment The segment with the specified parameters.