Deleting a goal

Deletes a counter goal.

Request

DELETE

https://api-metrika.yandex.net/management/v1/counter/{counterId}/goal/{goalId}

Path parameters

Name

Description

counterId*

Type: integer<int32>

ID of the counter whose goal you want to delete.

goalId*

Type: integer<int64>

ID of the goal 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

No longer supported, please use an alternative and newer version.