When will Confluence REST API allow user creation?

Currently the REST API does not allow for user provisioning (unlike the Jira REST API). Is there a timeline indicating when features will be released?

2 answers

If you're not afraid of getting your hands dirty, Confluence has already supported user provisioning over the API for quite a while, just not the REST API. If you use the JSON-RPC/XML-RPC API, then it is possible (yes, it's "deprecated", but won't be removed until the corresponding features are available in the REST API).

It's not so different from sending a POST request via the REST API, but instead your payload would be the values that are parameters to the functions. Depending on which language you use, support might be built in (e.g. Python has a built-in library for XML-RPC).

https://developer.atlassian.com/confdev/deprecated-apis/confluence-xml-rpc-and-soap-apis/remote-confluence-methods#RemoteConfluenceMethods-UserManagement

You would probably have to do it in a few steps. First one command to create the user, then another to set the user information, then another one to set the profile picture, etc. But definitely possible!

That's true. For information, the json format of the input is the following:

[
 {
 "name": "<username>",
 "fullname": "<last name>,<first name>",
 "email": "<email>",
 "url": ""
}, "<password>"
 ]
0 votes

The resource to create / provision users isn't currently on the roadmap for the Confluence REST API.

This item is being tracked as a feature request here: https://jira.atlassian.com/browse/CRA-563

Feel free to add your use case and vote to that issue!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,040 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you