Changing goal

Changes setting of specified counter goal.

  1. Request syntax
  2. Request message body
  3. Response format

Request syntax

counterId — counter ID, the goal of which you want to change.

goalId — Goal ID, the settings of which you want to change.

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

Request message body


{
    "goal" :  < goal > 
}
Parameters Description
goal Goal information.

Request example

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

Response format


{
    "goal" :  < goal > 
}
Parameters Description
goal Goal information.