DELETE/api/v1/documents/{slug}

Delete a document

Deletes a document for good. Send a token as the owner, or the document's edit secret in X-Edit-Secret.

Token optionalOr edit secret10 per minute per IPMCP: delete_document
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

#
  • 204No content.
  • 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?