Deleting a segment

Deletes the specified segment.

Request

DELETE

https://api-metrika.yandex.net/management/v1/counter/{counterId}/apisegment/segment/{segmentId}

Path parameters

Name

Description

counterId

Type: integer

Tag ID.

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 performing the action.

Default: true