GET/api/v1/documents/{slug}/delete-preview

Preview a delete

What deleting a document would take, before you do it: its kind, title and link, and how many sub-pages sit below it (children directly, descendants in all). For people who may delete it.

Token optionalOr edit secret120 per minute per IP
Code samples and Try it

Path parameters

#
  • slugstringRequired

    The document's address: the part after markdrop.in/.

Headers

#
  • X-Edit-Secretstring

    The document's edit secret (sk_…), for a document published without an account. See Edit key.

Responses

#
  • 200OK.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?