Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
1
-
Description
Hi Team.
I want to suggest a purge from trash feature implementation due we just have the option to DELETE from content where we are not able to delete all itens that are located at the trash. The DELETE option that we do have now just delete page by page making the purge action only possible using scripts.
Like:
curl -u admin:password -G "http://localhost:8090/rest/api/content?spaceKey=IN&status=trashed" | json_pp | grep -i self | grep -vi space | awk -F \" '\{print $4}' > output while read line; do curl -u admin:password -X DELETE "$line"; done < output;rm output
Thanks in Advance.