---
title: "Delete File"
method: DELETE
path: "/files/{name}"
tags: ["Files"]
---

# Delete File

`DELETE /files/{name}`

Permanently deletes the file from your Account. Required Access Level: ModifyFiles

## Path parameters

- `name` string, string, required — string

## Response `200`

OK

---

[API](https://skmtc.net/elasticemail/apis/megamail-api.md) · [All operations](https://skmtc.net/elasticemail/apis/megamail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elasticemail/megamail-api/versions/1a0ebb83f676/schema)
