Question
How can I update the primary email address for a user using the API?
Answer
A user's primary email address is controlled through the User Identities endpoints of our API.
To set an existing secondary email address as the primary email address, use the Make Identity Primary endpoint.
To update an existing email address, including the existing primary email address, use the Update Identity endpoint.
For more information, see this article: Support API.