Delete a draft
Removes an unsent draft; a sent one answers 409.
DELETE
/inboxes/{inbox_id}/drafts/{draft_id}Autorisierung
AuthorizationBearer-Token · headererforderlichA BillionSend API key (bs_…).
Pfadparameter
inbox_idstringerforderlichThe inbox ID or its email address, such as support@example.com
draft_idstring<uuid>erforderlichAntworten
200
Deleted
objectstringerforderlichErlaubt:
inbox_draftidstring<uuid>erforderlichdeletedbooleanerforderlichErlaubt:
true401
Missing, malformed, unknown or revoked API key
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich403
Restricted API key, the inbox's or the shared domain's rules, or held mail
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich404
Not found
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich409
Idempotency conflict, or a draft already sent
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich422
Validation error
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich429
The inbox's daily send limit, or the team's daily limit for mail from the shared domain, or the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich