Can we permanently delete a file using OneDrive API

Aman Kumar Singh 1 Reputation point


I want to permanently delete any files/folders from the recycle bin using the API. I am trying to use MS Graph for this case, but unfortunately not able to find any appropriate way.

Is there any way to do this?

Hope for a quick response.

Thanks & Regards

Microsoft Graph Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
325 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zehui Yao_MSFT 3,796 Reputation points Microsoft Vendor

    Hello, @AmanKumarSingh-4212, after testing and investigation, I suggest you create a feature request in the Graph UserVoice so that it can be implemented in future.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.