Skip to content

Delete email draft

Request

Deletes a draft email

Path
draftIdinteger, (int32)required

The id of the draft email

const draftId = 'YOUR_draftId_PARAMETER';
const resp = await fetch(
  `https://api-sandbox.lawvu.com/account-apis/v1/emails/drafts/${draftId}`,
  {method: 'DELETE'}
);

const data = await resp.text();
console.log(data);

Responses

OK