Delete a draft
Removes an unsent draft; a sent one answers 409.
DELETE
/inboxes/{inbox_id}/drafts/{draft_id}授权
AuthorizationBearer 令牌 · header必填A BillionSend API key (bs_…).
路径参数
inbox_idstring必填The inbox ID or its email address, such as support@example.com
draft_idstring<uuid>必填响应
200
Deleted
objectstring必填允许值:
inbox_draftidstring<uuid>必填deletedboolean必填允许值:
true401
Missing, malformed, unknown or revoked API key
statusCodenumber必填namestring必填messagestring必填403
Restricted API key, the inbox's or the shared domain's rules, or held mail
statusCodenumber必填namestring必填messagestring必填404
Not found
statusCodenumber必填namestring必填messagestring必填409
Idempotency conflict, or a draft already sent
statusCodenumber必填namestring必填messagestring必填422
Validation error
statusCodenumber必填namestring必填messagestring必填429
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)
statusCodenumber必填namestring必填messagestring必填