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!
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.
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.
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events