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

This widget could not be displayed.
Stephen Deutsch Community Champion Jun 08, 2017

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>"
 ]
This widget could not be displayed.

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
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

481 views 6 6
Join discussion

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