Skip to main content
DELETE
Delete a document the website hosts

Authorizations

Api-Token
string
header
required

Server-to-server authentication. Generate a token in the admin UI at Settings → Developers → API Access. Send the raw token in the Api-Token header — there is no Bearer prefix.

Tokens can be marked read-only at creation time, in which case the API rejects any non-GET request with 403 Forbidden.

Path Parameters

file
string
required

The stored document name, e.g. wd-3f9a01c2-7be41d09a5c3-statute.pdf

Query Parameters

force
string

Delete even while pages still link it

Response

Deleted