Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,778
Community Members
 
Community Events
165
Community Groups

Use rest to change email from claimed domain to an unclaimed domain.

I need to automate changing all users' emails from a claimed domain to an unclaimed domain.

I can change each users's email manually, indicating I have the correct permissions but I get an error using REST:

{
"key": "forbidden.unclaimedDomain",
"context": {
"domain": "xyzzy.com"
},
"errorKey": "forbidden.unclaimed-domain",
"errorDetail": {
"domain": "xyzzy.com"
}
}

 

Is there any way to do what I need to do?

1 answer

1 accepted

0 votes
Answer accepted
Shannon S Atlassian Team Feb 26, 2020

Hello Rich,

Unfortunately, there's not a way to programmatically update your users' emails from your old claimed domain to the new unclaimed domain through REST API.

You will need to claim the new domain first before you can do that. (reference: Verify a domain for your organization)

Let me know if you have any trouble with that. 

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Presenter Mode for Confluence is here 🖥 👩‍💻

👋  Hello Community!  My name is Stephanie Zhang, and I’m a product manager on the Confluence cloud team. Today, I’m excited to announce the rollout of  Presenter Mode : a ...

81,030 views 127 307
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you