# Remove File

```
DELETE 
/v1/files/:file_id
```

Delete a file and its bytes, preview and text. There is no undo.

## Request[​](#request "Direkter Link zur request")

## Responses[​](#responses "Direkter Link zur Responses")

* 204
* 403
* 404
* 422

Successful Response

`error` is `feature_not_offered`: files are not included for this account (`feature` is `files`), or the target is the account's capture folder and capture is not included (`feature` is `capture`). An account admin can switch either on.

Not found

Validation Error
