cURL
curl --request DELETE \ --url https://api.decodahealth.com/email/drafts/{draft_id} \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Delete a draft email.
The tenant you are making this request on behalf of
Your api key
Successful Response