I need to add one person to at least 20 Confluence spaces. I'd rather not have to go into each space individually. Is there a way to add them to multiple spaces at once in Confluence?
Hello @Laura Briscoe
I found this KB, but it seems to be focused on granting access to all spaces.
Otherwise I think the option would be to use the Confluence REST API.
In the future you may want to consider granting access to user via User Groups instead of individually. Then you can simply add a user to the correct User Group to give them access to multiple spaces in one shot.
As @Trudy Claspill mentioned API is the best way to go about automating it
Use the Confluence REST API to loop through all 20 spaces and add the user programmatically:
POST https://api.atlassian.com/ex/confluence/{cloudId}/wiki/rest/api/space/{spaceKey}/permission
This can be scripted in Python/Bash to handle all 20 spaces in one run.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.