Logo icon
    • Introduction
    • Method calls
    • Formats for input and output data
    • Authorization
    • Quotas
    • API versions
    • Data requirements
    • Error descriptions
        • Editing a segment
        • Deleting a segment
        • Reprocessing a segment
        • Creating a segment from a file
        • Creating a segment from a CSV file
        • Creating a segment with the "pixel" type
        • Creating a segment from a metric object
        • Creating a segment with the "lookalike" type
        • Creating a segment with the "geo-polygon" type
        • Creating a segment with the "geo-circle" type
        • Creating a segment from an AppMetrica object
        • Changing the list of coordinates for a segment with the "geo-circles" type
        • Modifying the data for a segment created from a file
        • Saving a segment created from a file
        • Saving a Yandex Metrica ClientId segment generated from a file
        • List of available segments
    • Feedback

    In this article:

    • Request
    • Path parameters
    • Responses
    • 200 OK
    • Body
    1. API reference
    2. Managing segments
    3. Deleting a segment
    • Request
      • Path parameters
    • Responses
    • 200 OK
      • Body

    Deleting a segment

    Deletes the specified segment.

    Request

    DELETE

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

    Path parameters

    Name

    Description

    segmentId

    Type: integer

    ID of the segment that you want to delete.

    Responses

    200 OK

    OK

    Body

    application/json
    {
      "success": true
    }
    

    Name

    Description

    success

    Type: boolean

    Result of the operation.

    Default: true

    Was the article helpful?

    Previous
    Editing a segment
    Next
    Reprocessing a segment