> For the complete documentation index, see [llms.txt](https://eye-ai.gitbook.io/eye-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eye-ai.gitbook.io/eye-ai/overview/introduction-of-the-eye-ai-api/file/delete-file.md).

# Delete File

#### Delete a file.

{% code title="Example request" lineNumbers="true" %}

```
curl https://api.eye-ai.com/v1/files/file-XjGxS3KTG0uNmNOK362iJua3 \
  -X DELETE \
  -H 'Authorization: Bearer YOUR_API_KEY'
}
```

{% endcode %}

{% code title="Response" lineNumbers="true" %}

```
{
  "id": "file-XjGxS3KTG0uNmNOK362iJua3",
  "object": "file",
  "deleted": true
}

```

{% endcode %}

<br>
