How can I update the primary email address for a user using the API?
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: Support API.
Sorry to necro post a little but I'm trying to change all my users first address like you mentioned. Does it work using JSON? The example mention using CURL but I don't have Linux server to do so.
I was able to do it for one user at a time but they all have a unique ID and unique identities.
Postman is a good third-party tool that can be used to access the API via JSON: How do I set up Postman to make API requests to my Zendesk account?
Please sign in to leave a comment.