# Delete list

### **Endpoint:**

<mark style="color:red;">`DELETE`</mark> `https://proxy-seller.com/personal/api/v1/{YourApiKey}/residentsubuser/list/delete`

#### **Example:**

```
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/residentsubuser/list/delete
```

### **Response:**

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

```
"delete/not-found"
```

{% endtab %}

{% tab title="200: OK Error response Wrong API key" %}

```json
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Error api key",
            "code": 503,
            "customData": null
        },
        {
            "message": "IP not allowed",
            "code": 503,
            "customData": null
        },
        {
            "message": "Request limit reached",
            "code": 503,
            "customData": null
        }
    ]
}
```

{% endtab %}

{% tab title="200: OK Error response Wrong authorization IP" %}

```json
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "IP not allowed",
            "code": 503,
            "customData": null
        }
    ]
}
```

{% endtab %}

{% tab title="200: OK Error response List not found" %}

```json
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "not-found",
            "code": 404,
            "customData": null
        },
        {
            "message": "not-found (404)",
            "code": 0,
            "customData": null
        }
    ]
}
```

{% endtab %}

{% tab title="200: OK Error response Tarif not found" %}

```json
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Tarif not found",
            "code": 0,
            "customData": null
        }
    ]
}
```

{% endtab %}
{% endtabs %}

### **Path parameters:**

<table data-full-width="false"><thead><tr><th width="153">Name</th><th width="186">Value</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>Authorization</td><td><code>&#x3C;Your_API_Key></code></td><td>Your personal API key</td><td></td></tr></tbody></table>

### **Request body:**

<table><thead><tr><th width="144">Name</th><th width="96">Type</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>Number</td><td>ID of the created list.</td></tr><tr><td>package_key</td><td>String</td><td>The key of the subuser's package from which you want to remove the list.</td></tr></tbody></table>
