How can i create, activate and deactivate a user on confluence cloud by API ?
Community moderators have prevented the ability to post new answers.
Hi Sebastien,
For this, you will need to use the older XML-RPC / JSON-RPC methods. You can find a listing of the ones related to user management here:
For Javascript, you could do something like this:
jQuery.ajax({ contentType: 'application/json', type: 'POST', url: contextPath + '/rpc/json-rpc/confluenceservice-v2/addUser', data: '["user", "password"]', success: function(response) { console.log(response); }, error: function(response) { console.log(response); } });
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.