Delete an uploaded font
Deletes an uploaded custom font. Templates using it fall back to the built-in font. Requires the gallery:write scope (key) or editor membership (user).
Deletes an uploaded custom font. Templates using it fall back to the built-in font. Requires the gallery:write scope (key) or editor membership (user).
Authorization
bearerAuth gallery:updateA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: gallery:update
Path Parameters
Header Parameters
Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "id": "string", "deleted": true}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}Upload a custom font POST
Registers a custom font from base64 bytes (ttf/otf/woff/woff2). The file's magic bytes and size are validated, and a licensing attestation is required. Requires the gallery:write scope (key) or editor membership (user).
List the gallery's uploaded fonts GET
Returns the gallery's uploaded custom fonts (metadata only — the bytes are embedded at render time).