Skip to content

Commit cc95c77

Browse files
ArletaArleta
authored andcommitted
000-028: new article recycle vs delete
1 parent 4590d9e commit cc95c77

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Introduction
2+
Using SharePoint HTTP connector called Send an HTTP request to SharePoint in Power Automate gives you freedom to use REST API and perform multiple actions that have not been predefined in Power Automate actions.
3+
4+
5+
Delete vs Recycle
6+
So what's the difference? The difference is in Recycle Bin. If you use DELETE Method, the list will be hard-deleted and no longer recoverable from a recycle bin. If you want your list to appear in a recycle bin after you have deleted it, you should use POST Method and recycle() endpoint.
7+
8+
9+
Delete SharePoint List
10+
If you want to hard delete your SharePoint list, use _api/web/lists/getbytitle('YOURLISTNAME') endpoint and DELETE method.
11+
12+
13+
14+
15+
16+
Recycle SharePoint List
17+
If you want to recycle your list and find it later in the recycle bin of your site, use _api/web/lists/getbytitle('YOURLISTNAME')/recycle() endpoint and POST method.
18+
19+
20+
21+
22+
See Also
23+
24+
Avoid concurrency using Etag in SharePoint REST-API Call Jump

0 commit comments

Comments
 (0)