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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,592 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zehui Yao_MSFT 5,831 Reputation points
    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.

    0 comments No comments