Linking a counter to a label

Links the specified counter to the given label.

Request

POST

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

Path parameters

Name

Description

counterId*

Type: integer<int32>

ID of the counter to link to a label.
Example: 2215573

labelId*

Type: integer<int32>

ID of the label to link the counter to.
Example: 1126

Responses

200 OK

OK

Body

application/json
{
    "success": true
}

Name

Description

success

Type: boolean

Result of performing the action.

Default: true