Can I change ALL account names using a script?

Our account names structure is username@DomainNameAAA.com can I change ALL my account names at a later day (if I want to change the DomainName to say: useraname@DomainNameBBB.com using some script?

Thanks
Alon

Yes, the script would use Backendless API and work as follows:

  1. Run a query to get all users with accounts matching the pattern.

Then, iterate over user objects and for each:
2. Change email in the user object.
3. Save user object.