---
title: "Delete file"
method: DELETE
path: "/3.0/file-manager/files/{file_id}"
tags: ["file-manager"]
---

# Delete file

`DELETE /3.0/file-manager/files/{file_id}`

## Request

- Base URL: `https://api.mailchimp.com`
- URL: `https://api.mailchimp.com/3.0/file-manager/files/{file_id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://login.mailchimp.com/oauth2/authorize`
    - Token URL: `https://login.mailchimp.com/oauth2/token`
- TypeScript: <https://skmtc.dev/mailchimp/apis/mailchimp-api/docs/3.0/file-manager/files/:file_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove a specific file from the File Manager.

## Path parameters

- `file_id` string, required

## Response `204`

Empty Response

## Other responses

- `default`: An error generated by the Mailchimp API.

---

[API](https://skmtc.dev/mailchimp/apis/mailchimp-api.md) - [All operations](https://skmtc.dev/mailchimp/apis/mailchimp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailchimp/apis/mailchimp-api/revisions/53bf4b156855?raw)
