Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Programatic deletion of DAM Assets

Avatar

Level 2

I have a file containing a list of several thousand assets (jpg's and gif's)  that need to be deleted from from our CQ 5.4 Dam.

Please could someone advise, the correct way to achieve this?  Is there a specific API to call to remove dam assets or is it ok to simply delete the node ?

Many thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 10

If it is one time deleting is fine. You can use curl or small script to iterate through your list.   Just make sure you delete in batches because the workflow has to run & sync with /var/dam.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

If it is one time deleting is fine. You can use curl or small script to iterate through your list.   Just make sure you delete in batches because the workflow has to run & sync with /var/dam.

Avatar

Level 2

Just the solution I was looking for!

Many thanks for your help.