I am hopping someone out here in this wonderful community can help me with something. I am trying to update/set some of the properties that are present under the api/site of a given site. The goal is take a site and
- change the ReadOnly property from false to true
- change the WriteLocked property from false to true
- set the LockIssue property from null to something like "Site has been archived and is read only."
I am able to see the current values for these properties and more using the HTTP Request to SharePoint action (example showing the WriteLocked property).
I have then tried using the same HTTP Request to SharePoint to update these properties. Below is what I have right now, but I have tried each of the three properties individually as well just trying to get something to bite. I have also tried POST, PUT, and PATCH. Additionally, I have also tried with various combinations of the headers.
When run under the various set ups, the flow does run successfully, but the properties are not being updated.
Am I missing something? Or can we just no update these site level properties? I have had success with other similar api calls - like changing the name of the site title using PATCH with the api/web.
Any help or guidance would be greatly appreciated.


Report
All responses (
Answers (