# Change a user's email **PATCH /groups/{groupId}/apps/{appId}/users/{userId}/reset_email** Change the email address for an [email/password user](https://www.mongodb.com/zh-cn/docs/atlas/app-services/authentication/email-password/) by ID. ## Servers - The root API resource and starting point for the App Services API.: https://services.cloud.mongodb.com/api/admin/v3.0 (The root API resource and starting point for the App Services API.) ## Authentication methods - Token auth ## Parameters ### Path parameters - **groupId** (string) An Atlas [Project/Group ID](https://docs.atlas.mongodb.com/tutorial/manage-projects/). - **appId** (string) The ObjectID of your application. [The App Services API Project and Application IDs section](#section/Project-and-Application-IDs) demonstrates how to find this value. - **userId** (string) User Account ID ### Body: application/json (object) The new email address for the user. - **email** (string) The new email for the user. ## Responses ### 204 No Content ### 400 - Payload is formatted incorrectly. - The email in the payload is not a string. - The email in payload has 0 or greater than 128 characters. - The user does not have a local-userpass identity. ### 404 The appId, groupId, or userId is invalid. [Powered by Bump.sh](https://bump.sh)