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('46f7d5ae-0c5e-4711-9910-8898e141c29b')/pages/'11'/oneDrive.page/webParts/c4bd7b2f-7b6e-4599-8485-16504575f590
stampcoin
101
Michael E. Gernaey
82
Super User 2025 Season 1
David_MA
48
Super User 2025 Season 1