Closed dokki767 closed 3 years ago
This seems like a better question for CyberArk - I'd suggest you open a support case with them to ask if the REST API supports any actions for deleted account objects. My assumption is no, it does not, in which case you could submit an Enhancement Request with CyberArk. Only after that functionality exists within the REST API could psPAS then implement it with PowerShell.
As a (albeit painful) workaround, you should be able to use the PACLI UNDELETEFILE command (even via PoShPACLI Restore-PVFile
).
That's kind of what I was thinking too. I do have an active support case open, I can update this issue with their response for documenting the current approach in case other users have similar questions.
There is no documented method for the feature described - your usual support channels or an ER with the vendor is the way to go.
This is more of a question so sorry if not psPAS 'issue', is there a switch or special cmdlet to search 'deleted items' via the API and also restore them? Native search functions seem to not 'see' those deleted items.