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?
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.
thank you, that helped me a lot.
Retrieving data ...