Can we permanently delete a file using OneDrive API

Aman Kumar Singh 1 Reputation point
2022-02-15T08:03:51.283+00:00

Hi,

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
Aman

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
    2022-02-15T09:50:08.533+00:00

    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.