Mailboxes
Delete a draft
Discards an unsent draft. Use this endpoint to delete a draft through the Samva email API.
Discards an unsent draft.
Authorization
apiKey x-api-key<token>
In: header
Path Parameters
id*string
Match
^mbx_[0-9a-hjkmnp-tv-z]{16,24}$draftId*string
Match
^mdraft_[0-9a-hjkmnp-tv-z]{16,24}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/mailboxes/string/drafts/string"{ "success": true}