Skip to main content
DELETE
https://xquik.com/api/v1
/
drafts
/
{id}
Delete Draft
curl --request DELETE \
  --url https://xquik.com/api/v1/drafts/{id} \
  --header 'x-api-key: <api-key>'
This endpoint does not count against your monthly usage quota.
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.