How to add Content restriction on Confluence using RPC-JSON API

김상범
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 3, 2024

Now I'm try to add Content restriction by RPC-JSON API
But return message is RPC method not found

Here is Document that JSON-RPC Method
https://developer.atlassian.com/server/confluence/remote-confluence-methods/#pages

 

JSON

{ "jsonrpc": "2.0", "id": null, "method": "setContentPermissions", "contentId": "5275716", "permissionType": "View", "permissions": [ { "type": "User", "UserName": "test" } ] }

 

return

{
"id": null,
"error": {
"code": -32601,
"message": "RPC method not found: setContentPermissions taking 0 parameters",
"data": null
},
"jsonrpc": "2.0"
}

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.17
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events