# Eliminar Etiqueta

Para borrar una etiqueta particular, se debe realizar la siguiente consulta.

<mark style="color:red;">`DELETE`</mark> `https://api.persat.com.ar/v1/deliveries-labels/label_id`

#### Path Parameters

| Name                                        | Type   | Description                                                |
| ------------------------------------------- | ------ | ---------------------------------------------------------- |
| label\_id<mark style="color:red;">\*</mark> | Number | Nro. de identificación de la etiqueta que se desea borrar. |

#### Headers

| Name                                            | Type   | Description     |
| ----------------------------------------------- | ------ | --------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer API\_KEY |

{% tabs %}
{% tab title="200: OK La consulta se ejecutó con éxito" %}

```json
{
    "success": true,
    "data": {
        "label_id": 15
    }
}
```

{% endtab %}

{% tab title="400: Bad Request Error en la consulta" %}

```json
{
    "success": false,
    "error": {
        "status": 400,
        "type": "BAD_REQUEST",
        "userMessage": "'label_id' debe ser un number (entero) obligatorio"
    }
}
```

{% endtab %}

{% tab title="404: Not Found Etiqueta inexistente" %}

```json
{
    "success": false,
    "error": {
        "status": 404,
        "type": "NOT_FOUND",
        "userMessage": "No existe el label con id: 3123123231"
    }
}
```

{% endtab %}
{% endtabs %}

### Análisis de la Respuesta

```json
{
    "success": true,
    "data": {
        "label_id": 15
    }
}
```

**data.label\_id:** Number. Identificador de la etiqueta borrada
