Hi folks,
I would like to copy the page-restrictions from one confluence-page to another page in same space.
I found this support-page for api definition. It is describe, that output from get is useable to put method.
curl --request GET --header
"Accept: application/json"
--header
"Content-Type: application/json"
--header
"Authorization: Bearer xxxx"
"https://confluence.xxxxxxxxxx.xxx/rest/api/content/1234567/restriction/byOperation"
| curl --request PUT --header
"Accept: application/json"
--header
"Content-Type: application/json"
--header
"Authorization: Bearer xxxxx"
-
v
-d @-
"https://confluence.xxxxxxxx.xxx/rest/api/content/987654321/restriction"
< HTTP/1.1 405
Has anyone an idea to fix it?? Where I can get a fulllevel example-code?
Best regards
I found https://community.developer.atlassian.com/t/remove-page-restrictions-via-rest-api/86971/2 but changing of experimental api does return status 500.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.