---
title: "Delete a font file"
method: DELETE
path: "/api/fonts/{filename}"
tags: ["Fonts"]
---

# Delete a font file

`DELETE /api/fonts/{filename}`

## Request

- Base URL: `https://api.dokmatiq.com`
- URL: `https://api.dokmatiq.com/api/fonts/{filename}`
- Auth: API key in header `X-API-Key`

Deletes a font file by filename. The font will no longer be available for document generation.

## Path parameters

- `filename` string, required

## Response `200`

OK

---

[API](https://skmtc.dev/dokmatiq/apis/docgen-api.md) · [All operations](https://skmtc.dev/dokmatiq/apis/docgen-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dokmatiq/apis/docgen-api/revisions/3fa1a922764d?raw)
