web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Restore a deleted libr...
Power Automate
Answered

Restore a deleted library that was deleted using Send HTTP Request to sharepoint in power automate?

(2) ShareShare
ReportReport
Posted on by 46

I tried searching for the answer but couldn't find it. 

I've developed a process to create and delete libraries in sharepoint from a powerapp. I've create a power automate flow and used the "Send an http request to sharepoint" action to delete it.

My question is, can a library deleted this way be restored? I do not see it in the recycle bin at all.


Categories:
I have the same question (0)
  • Verified answer
    trice602 Profile Picture
    16,239 Super User 2026 Season 1 on at
    Hi,
     
    Unfortunately, I have an answer that may not be the one you are looking for.
     
    When using the "Send an HTTP request to SharePoint" action in Power Automate to delete a document library, the library is permanently deleted and does not move to the Recycle Bin. This behavior differs from deleting items via the SharePoint user interface, where they typically go to the Recycle Bin first.
     
    In general terms, I don't like to use delete actions inside Power Automate for this reason but at a minimum, add an approval step and review before deleting if you continue to use the flow. 
     
    Sorry I didn't have a different answer though.
     
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

  • Verified answer
    SwatiSTW Profile Picture
    809 Super User 2026 Season 1 on at
    When you delete a SharePoint library using the "Send an HTTP request to SharePoint" action with the REST API, it is permanently deleted and does not go to the Recycle Bin. This is because the SharePoint REST API does not move lists or libraries to the Recycle Bin when using the DELETE method—it hard deletes them.
     
    The answer to your question - "Can the Library Be Restored? " - 
    Unfortunately, no, if the library was deleted using the REST API, it cannot be restored from the Recycle Bin. Unlike when deleting via the UI or Power Automate's built-in "Delete File" or "Delete List" actions, the REST API bypasses the Recycle Bin.
     
    If you want to ensure deleted libraries can be restored, avoid using the DELETE method in the REST API. Instead, use Power Automate's "Delete File" or "Delete List" actions, which send items to the Recycle Bin.
  • CU20020019-0 Profile Picture
    46 on at
    Thanks for the responses :) 

    SwatiSTW  is there a "Delete List" action? i couldn't find one. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard