Changing tag

Changes specified tag.

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

Request syntax

labelId — tag ID, which you want to change.

https://api-metrica.yandex.net/management/v1/label/{labelId}
 ? 

Request message body


{
    "label" : {
        "id" :  < int > ,
        "name" :  < string > 
    }
}
Parameters Description
label Tag.
label
id Tag ID.
name Tag name.

Request example

PUT https://api-metrica.yandex.net/management/v1/label/{labelId}?

Response format


{
    "label" : {
        "id" :  < int > ,
        "name" :  < string > 
    }
}
Parameters Description
label Tag.
label
id Tag ID.
name Tag name.