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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 589
Valantis 328
David_MA 284 Super User 2026 Season 1