Hi @DirkEyfrig, PUT /rest/api/content/{pageId}/restriction is only available in Confluence 8.8 and newer.
If you are using an older Version of Confluence you can use the experimental version PUT /rest/experimental/content/{pageId}/restriction instead. This one uses the same body format and has been around since Confluence 6. It is also still available in Confluence 9, in case you want to support multiple Confluence versions.
Hi @t-bundt ,
we’re on 8.5.17, but with /experimental/ instead of /rest/, I receive error 500 instead of 405.
I’m giving up for today…
Is there any “official” method to REMOVE ALL page restrictions by using a Confiforms IFTTT action?
I know how to add restrictions for known users and how to remove them again, but how to remove all?
If you do either a PUT or a POST to /rest/experimental/content/{pageId}/restriction with no request body at all, you should get back either a 403 or 415 error. If you get a 500 error, then there isn’t a functioning endpoint at that path that supports either method.