Skip to main content
DELETE
/
api
/
email
/
drafts
/
{uid}
Delete outbound email draft
curl --request DELETE \
  --url https://dev.exante.app/api/email/drafts/{uid} \
  --header 'Authorization: Bearer <token>'
Permanently delete an email draft. This action cannot be undone. Use this to discard drafts that are no longer needed.

Path Parameters

ParameterDescription
uidThe draft’s unique identifier (UUID)

Response

Returns 204 No Content on successful deletion.

Error Responses

StatusDescription
404Draft not found or belongs to a different organization

Use Cases

  • Cancel composition - User decides not to send the email
  • Cleanup - Remove stale drafts that were never completed
  • Replace - Delete and recreate when significant changes are needed
Deletion is permanent. If you might need the draft content later, consider updating it to a “cancelled” state or archiving it through your own mechanism.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uid
string<uuid>
required

Response

204

Draft deleted