Rest API call for adding user to space in confluence

Hi,

We need to add a user to Confluence page using rest api call. I could not find any documentation on this. Could you please help us on this?

1 answer

0 votes
Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 3, 2018

I do not think that this is implemented in Confluence REST API - I do not see this method in the browser - https://docs.atlassian.com/ConfluenceServer/rest/6.10.0/

Not sure about your version and type (Server/Cloud) but you might want to check this script that is based on XML-RPC (deprecated method after 5.5) - https://confluence.atlassian.com/pages/viewpage.action?spaceKey=DISC&title=Add+a+new+user+with+a+personal+space

Or if you use JIRA for User Management and it is connected to Confluence maybe you can modify group membership there and sync with Confluence (where the group will be added to specific space)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events