Forum Discussion
chrisfellows
Jun 17, 2023Copper Contributor
Deleting all versions of a OneDrive file
I'm using OneDrive to delete all versions of a Teams chat file and I want to delete all versions, not just the current version.
Questions:
1) Do I need to just call DeleteAsync for the DriveItem entity or do I have to call DeleteAsync each for each Version entity?
2) Does the drive item Versions property include old versions that have been archived because they've exceeded the archiving threshold?
No RepliesBe the first to reply