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?
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
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.