I'm trying to use this method to update a user's email address (specifically api/2/user -- in the screenshot included), but I'm wondering if this is deprecated because when using a PUT, I get "405 Method Not Allowed". If I use a POST it actually creates a NEW user in Jira/Confluence though.
My API call is attached as well. Is there another API call to update an email addressed based on an accountId?
I believe I have figured this out. I had to be made an Org Admin and then can utilize these API calls (https://developer.atlassian.com/cloud/admin/user-management/rest/intro/).
The only issues I'm having now are:
(1) Duplicate accounts that I removed for users that previously had the email address I'm updating their Primary/Unique account for won't let me update the email address as I get a response of "conflict.emailTaken" - I'm wondering if something is cached. I may need to submit a ticket to Atlassian on that.
(2) The other issue I'm having with some accounts when trying to update the email is "
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.
Hi @Chris Green
I do not know if that method is deprecated, but since GDPR went into effect you cannot call such methods with the user name any longer. Please try with accountId with the appropriate value to see if that helps.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've also tried this and no luck. I still get "Method not allowed".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After searching a bit, I could not find out if that one is deprecated. Maybe try to post the same question in the developer community:
https://community.developer.atlassian.com/
And, ask your site admin to submit a support ticket if you are on a paid license:
https://support.atlassian.com/contact/#/
Once you hear back from them, please consider posting back here so the whole community can benefit. Thanks!
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.