> ## 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

> Delete a file from the FlexiCapture for Invoices Cloud via the v2/file DELETE method using the file ID and access token returned by File.Upload.

Deletes a file from the cloud.

## HTTP request

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

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. The file ID that was returned in the response of the **file.Upload** method.           |
| `token`   | path, string | Required. The file access token that was returned in the response of the **file.Upload** method. |

## Response

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