0

Is it possible to delete Particular version history using pnp or J-query?

0

You could delete version history by PowerShell script in SharePoint online. For more detailed information, refer to the article below.

SharePoint Online: Delete Version History using PowerShell CSOM.

In PnP PowerShell commands, there is no such PnP PowerShell command to delete the version history.

To use jQuery, you could get the specific version history by REST API, and then delete it. For more detailed information, refer to the post below.

https://social.msdn.microsoft.com/Forums/office/en-US/22bc1a22-d958-49d7-81a3-6009c39d88ac/delete-previous-versions-from-a-document-library-using-javascriptrest?forum=sharepointdevelopment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.