---
metadata:
  - name: generator
    content: Diplodoc Platform v5.48.2
alternate:
  - https://yandex.com.tr/dev/metrika/en/management/openapi/access_filter/deleteAccessFilter.md
  - https://yandex.com.tr/dev/metrika/ru/management/openapi/access_filter/deleteAccessFilter.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/dev/metrika/ru/llms.txt

<!-- source: ru/management-src/Upravlenie-filtrami-dostupa/deleteAccessFilter.md -->
<div class="openapi">

# Удаление фильтра доступа

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

Удаляет указанный фильтр доступа. Подробнее о фильтрах доступа в [статье](https://yandex.ru/support/metrica/general/access-filters).

## Request

<div class="openapi__requests">

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

<div class="openapi__request">

DELETE {.openapi__method}
```text translate=no
https://api-metrika.yandex.net/management/v1/counter/{counterId}/access_filter/{accessFilterId}
```

</div>

</div>

</div>

### Path parameters

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

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

Идентификатор фильтр доступа, который вы хотите удалить.
{.table-cell}
||
||

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

Идентификатор счетчика.
{.table-cell}
||
|#{.json-schema-properties}

### Query parameters

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

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

Признак удаления всех разрешений, которые входят в указанный фильтр доступа.

_Default:_{.json-schema-reset .json-schema-value} `false`
{.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

Результат выполнения операции.

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

</div>

</div>

</div>
<!-- endsource: ru/management-src/Upravlenie-filtrami-dostupa/deleteAccessFilter.md -->

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