Skip to main content
DELETE
/
drafts
/
{id}
Delete draft
curl --request DELETE \
  --url https://xquik.com/api/v1/drafts/{id} \
  --header 'x-api-key: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://docs.xquik.com/llms.txt

Use this file to discover all available pages before exploring further.

Free - does not consume credits
curl -X DELETE https://xquik.com/api/v1/drafts/42 \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

Path parameters

id
string
required
The unique draft ID. Returned when you create a draft or list drafts.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.

Response

Empty response body. The draft was successfully deleted.
Deletion is permanent. There is no way to recover a deleted draft.
Related: List Drafts to verify the draft was removed, or Create Draft to save a new one.
Last modified on May 5, 2026