Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi!
I'am using XML-RPC to work with my confluence. And now i want to create a new user and rest api contains a method "add user":
void addUser(String token, User user, String password)
- add a new user with the given password
And I do not understand, what kind of entity is this "User"?
Could you show me any example how to create user?
Thank you in advance!
example:
{"jsonrpc" : "2.0", "method" : "addUser", "params" : [{"email":"tututu@mail.com","fullname":"TestUser","name":"user"}, "password"], "id" : null}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Михаил,
The SOAP API has been deprecated since Confluence 5.5 and is not longer currently supported. However, there is a REST API which will use JSON instead of XML to complete tasks. Within the REST you are able to interact with Confluence, though the user endpoints are only available via GET calls. If you are using Jira or Crowd you are able to access endpoints via the Crowd API to manipulate users and groups. Here are resources for both Confluence and Crowd REST API.
For the SOAP API deprecation notice, that may be found at Confluence XML-RPC and SOAP APIs
I hope these resources prove helpful while migrating off the SOAP API.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why is this accepted?
The SOAP API is deprecated since about 4 years now, but there is a reason it is still there: the REST API just isn't nearly complete, looks even abandoned, no progress.
There is no way to create a user via the REST API, so the answer is even misleading.
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.
Meet the engineers who are making the Confluence magic happen at Atlassian ✨
RSVP now!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.