---
metadata:
  - name: generator
    content: Diplodoc Platform v5.46.1
alternate:
  - https://yandex.ru/dev/partner-statistics/doc/en/reference/mobile-adunit/deleteMobileAdUnit.md
  - https://yandex.ru/dev/partner-statistics/doc/ru/reference/mobile-adunit/deleteMobileAdUnit.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/partner-statistics/doc/ru/llms.txt

<div class="openapi">

# Удаление мобильного блока по идентификатору (занесение в архив)

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

{% list tabs %}

- Info

  ## 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://partner.yandex.ru/api/mobile/adunit/{id}
  ```
  
  </div>
  
  Partner API
  
  </div>
  
  </div>
  
  ### Path parameters
  
  #|
  || **Name** | **Description** ||
  ||
  
  _id_{.json-schema-reset .json-schema-property .json-schema-required}
  {.table-cell}|
  **Type**: string
  
  Идентификатор мобильного блока
  
  _Pattern:_{.json-schema-reset .json-schema-assertion} `R-M-\d{1,10}-\d{1,7}`
  
  _Example:_{.json-schema-reset .json-schema-example} ``
  {.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
  {}
  ```
  
  {% endcut %}
  
  **Type**: object
  
  </div>
  
  </div>
        

- Console

  ```openapi-sandbox translate=no
  pathParams:
    - name: id
      in: path
      description: Идентификатор мобильного блока
      required: true
      schema:
        type: string
        pattern: R-M-\d{1,10}-\d{1,7}
  searchParams: []
  headers: []
  body: null
  schema: {}
  method: delete
  security:
    - type: oauth2
      flows:
        implicit:
          authorizationUrl: https://oauth.yandex.ru/authorize
          scopes:
            pi:access-ad-inventory-api: Yandex Advertising Network (Inventory Management API)
    - type: apiKey
      name: Authorization
      in: header
  path: mobile/adunit/{id}
  host: https://partner.yandex.ru
  
  ```
        

{% endlist %}


</div>

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