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?
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).
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>" ]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
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.