Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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": ""
"errorKey": "forbidden.unclaimed-domain",
"errorDetail": {
"domain": ""


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

1 answer

1 accepted

0 votes
Answer accepted

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. 



Suggest an answer

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

Confluence Bingo Round 3!

That’s right! Grandma’s back at it again, and this time she’s brought all her friends. In honor of Team '21, this Bingo round is dedicated to all things team-related, and the prizes are no exception....

3,157 views 31 22
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