Hi @Pradyut Sinha since currently there is no properties to describe the status of the file to check if the file is being edit or opened, so I suggested to submit a feature request idea using this support link, which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs. I will also upvote for you.
Unable to Delete document using One drive API in C#
Pradyut Sinha
21
Reputation points
I am unable to delete a document by using one drive API in ASP.Net(c#) if the document is open.
How to check the document is already open by using one drive API.
Please help.