Programatic deletion of DAM Assets | Community
Skip to main content
Level 2
October 16, 2015
Solved

Programatic deletion of DAM Assets

  • October 16, 2015
  • 2 replies
  • 849 views

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.

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

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.

2 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

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.

webbCBSAuthor
Level 2
October 16, 2015

Just the solution I was looking for!

Many thanks for your help.