Notifications
Announcements
I have tried multiple ways to remove particular webparts in a site collection thats on the home.aspx page but keep getting resource not found.
I have passed the following uri
https://xxx.sharepoint.com/sites/24458/_api/web/getfilebyserverrelativeurl('/sites/24458/SitePages/Home.aspx')/getLimitedWebPartManager(scope=1)/webparts('webpartIdGuid')
Also tried
_api/web/getfilebyserverrelativeurl('/sites/24458/SitePages/Home.aspx')/getLimitedWebPartManager/webparts/getbyid('webpartIdGuid')
Using the Send an HTTP request to SharePoint
Site Address : Site Collection Url
Method:Post
Headers
{ "Accept": "application/json;odata=verbose", "X-HTTP-Method": "DELETE", "IF-MATCH": "*" }
I'm not sure what am missing. Any help would be appreciated
_api/v2.0/sites('@{variables('SiteId')}')/pages/@{variables('SitePageId')}/oneDrive.page/webParts/@{variables('WebPartId')}
_api/v2.0/sites('46f7d5ae-0c5e-4711-9910-8898e141c29b')/pages/'11'/oneDrive.page/webParts/c4bd7b2f-7b6e-4599-8485-16504575f590
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 525 Super User 2025 Season 2
Tomac 324 Moderator
abm abm 232 Most Valuable Professional