API ReferenceDrafts
Delete a draft
Authorization
session docsdev_admin<token>
Sealed (AES-256-GCM) session cookie issued by POST /api/admin/login or the GitHub OAuth callback.
In: cookie
Query Parameters
slug*string
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/admin/drafts?slug=string"{ "ok": true}{ "ok": false, "error": "string"}{ "ok": false, "error": "string"}{ "ok": false, "error": "string"}