Confluence restful api 创建用户,可以参考下面链接,需要安装一个插件。
[CONFSERVER-56205] Provide REST API methods to manage users and groups - Create and track feature requests for Atlassian products.
最后一个请求创建示例:
curl -v -X PUT -H 'Content-Type: application/json' -d '{"name": “wikitest","password":"123456","email":"test@test.com","fullName":"test"}' -H 'Authorization: Basic YWRtaW46bmplMDQ1N2NoMG83ZGYwdDd2b2pubzQ4ZjlhaXBwbWc4' https://your_confluence_domain/rest/extender/1.0/user/add
Basic后的授权码是 username:token 的base64 编码
还没有评论,来说两句吧...