# \[DELETE] Remover Arquivo

### Requisição

```bash
curl --location --request DELETE 'https://api.zaia.app/v1.1/api/agent-service-point-group/remove-file?agentId=123&id=<your crawl id here>' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <your api key goes here>'
```

### Headers (Cabeçalhos)

<table><thead><tr><th width="167.765625">Chave</th><th width="139.88671875">Tipo</th><th width="216.09765625">Exemplo</th><th width="125.3359375">Obrigatório</th></tr></thead><tbody><tr><td><mark style="color:red;">Authorization</mark> </td><td>String</td><td>Bearer &#x3C;sua chave aqui></td><td><mark style="color:red;"><strong>✓</strong></mark></td></tr></tbody></table>

### Body (Corpo)

<table><thead><tr><th width="165.21875">Chave</th><th width="144.453125">Tipo</th><th width="214.96875">Exemplo</th><th width="122.65234375">Obrigatório</th></tr></thead><tbody><tr><td><mark style="color:red;">agentId</mark></td><td>Number</td><td>123</td><td><mark style="color:red;"><strong>✓</strong></mark></td></tr><tr><td><mark style="color:red;">id</mark></td><td>String</td><td><em>&#x3C;your crawl id here></em></td><td><mark style="color:red;"><strong>✓</strong></mark></td></tr></tbody></table>

### Respostas

{% tabs %}
{% tab title="🟢 204 → No content" %}

{% endtab %}

{% tab title="🔴 403 → Unauthorized" %}

```
"Forbidden."
```

{% endtab %}

{% tab title="🔴 404 → Not Found" %}

```
"Agent not found."
```

{% endtab %}
{% endtabs %}
