# Удаление

{% hint style="warning" %}
Некоторые карточки невозможно удалить, поскольку они построены на основе данных ваших заказов. Удалять можно только те карточки которые были добавлены вручную через [метод добавления](/api/user/address/add.md) карточки адреса.
{% endhint %}

## Запрос удаления

<mark style="color:green;">`POST`</mark> `/user/address/remove/:id`

Запрос удаляет карточку созданную вручную, удаление карточки происходит путем передачи её идентификатора

**Ожидаемые QUERY параметры**

| Name    | Type   | Description                  |
| ------- | ------ | ---------------------------- |
| `token` | string | [Ключ-токен](/access/key.md) |
| `id`    | number | Идентифицатор карточки       |

**Возможные ответы**

{% tabs %}
{% tab title="200: OK" %}

```json
{
  OK
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.waix.ru/api/user/address/remove.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
