---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/dev/metrika/en/management/openapi/measurement/deleteToken.md
  - https://yandex.com/dev/metrika/ru/management/openapi/measurement/deleteToken.md
  - href: en/management/openapi/measurement/deleteToken.md
    type: text/markdown
    title: Markdown version
  - href: ../../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/metrika/en/llms.txt

<!-- source: en/management-src/MeasurementProtocolTag/deleteToken.md -->
<div class="openapi">

# Deleting a token

<!-- markdownlint-disable-file -->

Deletes a token for the specified tag.

## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-post);margin-bottom: 12px">

<div class="openapi__request">

POST {.openapi__method}
```text translate=no
https://api-metrika.yandex.net/management/v1/counter/{counterId}/measurement/delete
```

</div>

</div>

</div>

### Path parameters

#|
|| **Name** | **Description** ||
||

_counterId_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

ID of the tag for which you want to delete a token.
{.table-cell}
||
|#{.json-schema-properties}

### Query parameters

#|
|| **Name** | **Description** ||
||

_token_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

The token that you want to delete.

_Example:_{.json-schema-reset .json-schema-example} `01x0x000-x11x-4385-0x00-47xx000xx000`
{.table-cell}
||
|#{.json-schema-properties}

## Responses

<div class="openapi__response__code__200">

## 200 OK

OK

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "success": true
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_success_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Result of performing the action.

_Default:_{.json-schema-reset .json-schema-value} `true`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

</div>
<!-- endsource: en/management-src/MeasurementProtocolTag/deleteToken.md -->


[*Deprecated]: No longer supported, please use an alternative and newer version.