Skip to content
ProductCraft
DocsPricingChangelog
Sign inOpen the console
Console

Available now

  • AuthSign-in, organizations and roles
  • MailTransactional email on your domain
  • WaitlistWaitlists without the spreadsheet
  • SocialFeeds, follows, ranking
  • TrawlTurn web pages into JSON
  • FlagsFeature flags evaluated in your app
  • NotifyInbox, email and push in one call
PLATFORMEvery product, one workspaceOne account and one API key for all of them.See the lineup→
ProductCraft

Available now

  • AuthSign-in, organizations and roles
  • MailTransactional email on your domain
  • WaitlistWaitlists without the spreadsheet
  • SocialFeeds, follows, ranking
  • TrawlTurn web pages into JSON
  • FlagsFeature flags evaluated in your app
  • NotifyInbox, email and push in one call
  • Docs
  • Pricing
  • Changelog
Sign in
← Mail API reference

Mail API · Drafts

delete/v1/workspaces/{workspace_id}/drafts/{id}Auth

Discard a draft

Discards a `draft` or `pending_approval` draft and its files (`status: discarded`); it leaves the queue. Repeating it changes nothing. Needs `mail.draft.create` on the mailbox.

Path parameters

workspace_id*string · uuid

Id of the workspace.

id*string · uuid

Draft id.

Response · 204

Discarded.

More in Drafts

  • post/v1/workspaces/{workspace_id}/threads/{id}/draftsDraft a reply or forward
  • post/v1/workspaces/{workspace_id}/mailboxes/{id}/draftsDraft an email from a mailbox
  • get/v1/workspaces/{workspace_id}/draftsList drafts
  • get/v1/workspaces/{workspace_id}/drafts/{id}Retrieve a draft
  • patch/v1/workspaces/{workspace_id}/drafts/{id}Edit a draft
  • delete/v1/workspaces/{workspace_id}/drafts/{id}Discard a draft
  • post/v1/workspaces/{workspace_id}/drafts/{id}/submitSubmit a draft for approval
  • post/v1/workspaces/{workspace_id}/drafts/{id}/approveApprove and send a draft
  • post/v1/workspaces/{workspace_id}/drafts/{id}/rejectReject a draft
  • post/v1/workspaces/{workspace_id}/drafts/{id}/sendSend your own draft
← Edit a draftSubmit a draft for approval →
ProductCraft

Backend building blocks for you and your AI agents.

Products

  • Auth
  • Mail
  • Waitlist
  • Social
  • Trawl
  • Flags
  • Notify

Developers

  • Documentation
  • Auth docs
  • Mail docs
  • Waitlist docs
  • Social docs
  • Trawl docs
  • Flags docs
  • Notify docs
  • SDKs
  • MCP
  • Build with AI

Resources

  • npm
  • GitHub
  • Changelog
  • Status
  • Roadmap

Company

  • Pricing
  • Contact

Legal

  • Security
  • Subprocessors
  • Terms
  • Privacy
  • Refunds
  • DPA

© 2026 ProductCraft. All rights reserved.

Made for builders. hello@productcraft.co