Add user to confluence.. API

pb April 22, 2014

Hello,

It is very tedious to add multiple users in Confluence using the GUI. Is there a Rest API or confluence API that I can use to create account?.Basically, I would iike to submit a list a users and have the accounts created

Any links or example would be helpful. I am using confluence 5.4.4

Thanks for your help

3 answers

1 accepted

1 vote
Answer accepted
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2014
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2014
Kudimov Mikhail April 3, 2019

Boris, Hello!

remote API contains the method "addUser"

void addUser(String token, User  user, String password) - add a new user with the given password

But I do not understand, what kind of entity is this "User"?

Could not you help me?

Have the same issue, don't understand how to pass this data with soap xml

0 votes
yassine hlioui June 1, 2017

is it possible to add new users with the REST API?

a POST request on "http://confluence-server/rest/api/user" is not allowed even with admin user. 

Rafal Kaminski November 10, 2017

Exactly! I have the same issue when I want to delete user: #<Net::HTTPMethodNotAllowed:0x00000002691d68>

Any news on it?

0 votes
Aaron Axelsen July 6, 2014

Are there examples of how to do this with the REST API?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events