Solved
Delete empty folder
Hi,
I am trying to delete all the empty folders using REST API. I noticed an endpoint to fetch all the folders (Folders - Marketo Developers), how can I check if the folder/subfolders are empty?
Thanks,
Rohit
Hi,
I am trying to delete all the empty folders using REST API. I noticed an endpoint to fetch all the folders (Folders - Marketo Developers), how can I check if the folder/subfolders are empty?
Thanks,
Rohit
AFAIK there's no flag for whether a folder is empty. You have to crawl each folder for assets to determine if it's effectively empty.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.