Draft emails
Hi,
We have thousands of emails in the draft state. We want to discard all the draft emails through API. Is there any way we can get all the draft emails in Marketo?
I tried getting all the emails under one of the root folder (Marketing Activities:3) but got the below error.
/rest/asset/v1/emails.json?status=draft&maxReturn=3&folder={"id":3,"type":"Folder"}
"errors": [
{
"code": "711",
"message": "Invalid folder type for email"
}
]Thanks,
Rohit