Creating a label
Creates a label with the specified name.
Request
POST
https://api-metrika.yandex.net/management/v1/labels
Body
application/json
{
"label": {
"id": 0,
"name": "example"
}
}
|
Name |
Description |
|
label |
Type: Label Label. Example
|
Label
Label.
|
Name |
Description |
|
id |
Type: integer Label ID. |
|
name |
Type: string Label name. Min length: Max length: Example: |
Example
{
"id": 0,
"name": "example"
}
Responses
200 OK
OK
Body
application/json
{
"label": {
"id": 0,
"name": "example"
}
}
|
Name |
Description |
|
label |
Type: Label Label. Example
|
No longer supported, please use an alternative and newer version.
Was the article helpful?
Previous