# Delete

## Apaga Registo de Ficheiro SAF-T(PT)

## Apaga um registo SAF-T(PT) a partir do seu :id.

<mark style="color:green;">`POST`</mark> `https://api.cloudinvoice.net/saft/:id/delete/`

{% hint style="danger" %}
Devido à particular importância dos ficheiros SAF-T(PT), o mesmo deverá ser cancelado antes de poder ser apagado. Isto funciona como uma dupla confirmação de que pretende realmente apagar o ficheiro.
{% endhint %}

#### Path Parameters

| Name | Type    | Description                                     |
| ---- | ------- | ----------------------------------------------- |
| id   | integer | O ID do registo SAF-T(PT) que pretende eliminar |

{% tabs %}
{% tab title="Exemplo de Pedido" %}

```shell
curl -X POST https://api.cloudinvoice.net/saft/1/delete/
```

{% endtab %}
{% endtabs %}

Para ver exemplos de pedidos nas várias linguagens, consulte a página[ Exemplos de Pedidos.](/introducao/exemplos-de-pedidos.md)


---

# 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://apidocs.cloudinvoice.net/documentacao-api/saf-t-pt/delete.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.
