You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
is there Rest API function to add permission to users in confluence , I tried to use the XMLRPC remote API through scriptrunner but it didn't work
I added a custom plugin that include XMLRPC 3rd libraries with no success too
Hello there Mohamed!
Currently, this is not possible by using REST API with Confluence.
We have a Feature Request that tackles this. You can check the request here:
However, a third-party plugin may help your objective! You could check Bobswift Command Line Interface (CLI) for Confluence:
We are looking specifically at the addPermissions parameter:
Let us know if this helps you out!
For anyone looking at this in 2023, these answers are no longer correct. It is possible to use REST to manage Confluence Space permissions.
The trick is that you cannot do it from WITHIN Confluence. The REST API endpoint is only available if you're not an App (i.e. this rules out ScriptRunner).