Delete document

Soft-delete a document you own. It disappears from URLs and listings immediately and is recoverable by support for 30 days. Requires the owner role.

post/api/v1/delete_document

Request

  • Base URL: https://offprint.io
  • URL: https://offprint.io/api/v1/delete_document
  • Auth: HTTP bearer

Request body

document_idstring uuid

The document's id, from publish_document or list_documents. Pass this or slug.

slugstring

The document's slug, e.g. 'roadmap-k3n8qz'. Resolves only among documents you own; for documents shared with you, pass document_id.

Response

Success.

deletedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.