Delete tag
Deletes a tag by ID
Function DeleteTag(Val Token, Val TagID) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Auth token |
TagID | --label | String | ✔ | ID of the tag to be deleted |
Returns: Map Of KeyAndValue - serialized JSON response from Yandex
tip
Method at API documentation: Deleting a tag
1C:Enterprise/OneScript code example
Token = "y0_AgAAAABdylaOAAy9KgAAAAEXh6i...";
TagID = "314158";
Result = OPI_YandexMetrika.DeleteTag(Token, TagID);
- Bash
- CMD/Bat
oint metrika DeleteTag \
--token "***" \
--label "314175"
oint metrika DeleteTag ^
--token "***" ^
--label "314175"
Result
{
"success": true
}