Skip to main content
May 6, 2016
Question

Discard Email Draft by Id via REST API not working

I am trying to use the delete email api call​. That is currently returns :

\

When I look up the email's status I get this:

Any help would be great.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Grégoire_Miche2
Level 10
May 6, 2016

Hi Aaron,

Are you sure the mail has a draft ?

You should may be start with a "Get email by ID" with a draft status.

-Greg

Translate
May 6, 2016

Yes, if you look at the second image the email is in draft status.

Translate
Grégoire_Miche2
Level 10
May 6, 2016

In the UI, the "discard draft" works only for approved emails with a draft, not for draft emails. May be this is the cause here as well.

-Greg

Translate