> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete

Deletes a task and all input and output files by task ID.

## HTTP request

```http theme={null}
DELETE https://api-{location-id}.flexicapture.com/v2/task/{id}
```

Replace `{location-id}` with your [supported location](/flexi-capture/cloud/cloud-f-cfor-invoices-api#icaas-supported-countries).

## Path parameters

| Parameter | Type         | Description        |
| --------- | ------------ | ------------------ |
| `id`      | path, string | Required. Task ID. |

## Response

If successful, the server returns a `204 No Content` HTTP status.
