Linking a counter to a label

Links the specified counter to the given label.

Request

POST

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

Path parameters

Name

Description

counterId

Type: integer

ID of the counter to link to a label.

labelId

Type: integer

ID of the label to link the counter to.

Responses

200 OK

OK

Body

application/json
{
  "success": true
}

Name

Description

success

Type: boolean

Result of performing the action.

Default: true

No longer supported, please use an alternative and newer version.