---
title: "Delete a file now"
method: DELETE
path: "/files/{id}"
---

# Delete a file now

`DELETE /files/{id}`

## Request

- Base URL: `https://marqpdf.com/v1`
- URL: `https://marqpdf.com/v1/files/{id}`
- Auth: HTTP bearer

## Response `200`

Deleted

- object
  - `object` string
  - `id` string
  - `deleted` boolean

## Other responses

- `401`: Missing or invalid API key
- `404`: Unknown file or operation

---

[API](https://skmtc.dev/marqpdf/apis/marqpdf-api.md) · [All operations](https://skmtc.dev/marqpdf/apis/marqpdf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marqpdf/apis/marqpdf-api/revisions/9f614f17df46?raw)
