Creation of tag

Creates tag with the specified name.

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

Request syntax

https://api-metrica.yandex.net/management/v1/labels
 ? 

Request message body


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

Request example

POST https://api-metrica.yandex.net/management/v1/labels?

Response format


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