Empty trash scripting


#1

Trying to figure out if there is scripting or action to empty the trash folder, not just send a draft to the trash.

Also, is there a certain amount of time after which the trashed drafts will be deleted forever?


#2

I’m not aware of any way to programmatically empty the trash. I haven’t seen anything in the URL scheme, built-in action steps or scripting documentation.

From the documentation: “Trash : The trash is where drafts go to be deleted. The trash can be emptied manually, but a drafts will be permanently deleted if it has been in the trash for more than 30 days.