As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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
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
thank you, that helped me a lot.