05-04-2017 03:34 AM
Hello,
is there a way to empty trashcan only for particular user via webscript? Or is there a way how to delete nodes without them putting to trashcan for specific user?
Thank you.
Br, Vojtech
05-04-2017 09:21 AM
With Content Services 5.2, you can list the deleted nodes for a given user and then delete them one-by-one.
Alfresco Content Services REST API Explorer
In the future, we will also add the option to empty the trashcan as a single operation &/or via a batch operation.
[REPO-126] Purge All Deleted Nodes - Alfresco JIRA
You also have the option to use the deprecated Web Scripts (aka "V0 REST API"):
DELETE permanently (purge) a node or nodes from the archive | Alfresco Documentation
In this case (I haven't had a chance to test & verify) it should purge the archived nodes deleted by the current user, although if the current user is an Administrator then all the deleted nodes are purged.
Hope this helps.
Regards,
Jan
05-05-2017 03:24 AM
Hello,
thank you, that helped me a lot.
Br, Vojtech
Explore our Alfresco products with the links below. Use labels to filter content by product module.