Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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"
}

1 answer

1 accepted

1 vote
Answer accepted
John Funk
Community Champion
January 5, 2025

Hi @김상범 - Welcome to the Atlassian Community!

There will be little to no support for the Server version here. I suggest you migrate to a supported platform soon. 

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