Is there a RESTful API call that allows me to change the application rights for a given user? I need to strip Confluence from a sizable number of users, but doing it via a user-interactive web interface is time-consuming and inefficient.
I tried to pull the data on a given user (myself) using http://myinstance.jira.com/rest/api/latest/username?[myuserID] - but it keeps asking for a key, and I have no idea what it's asking for; I figured maybe I could update the "active" property referenced in https://docs.atlassian.com/jira/REST/latest/#idp1247088 (and set it to "false"), but I can't seem to get to that data...and I'm not sure that would work anyway.
This is similar to the question asked here: https://answers.atlassian.com/questions/147154/jira-rest-api-create-and-update-users-and-groups
As far as I'm aware, the REST API for Confluence/JIRA only allows you to GET information about a given user, you are not able to actually modify any properties of a user via REST. This is possible using other methods however (i.e. Bob Swift's CLI tool or via the SOAP/XML-RPC API).
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
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!
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