---
title: "Change a user's email"
method: PATCH
path: "/groups/{groupId}/apps/{appId}/users/{userId}/reset_email"
tags: ["users"]
---

# 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/docs/atlas/app-services/authentication/email-password/) by ID.

## Request body

- object
  - `email` string, required — The new email for the user.

## Response `204`

No Content

## Other responses

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

## Changes

- **2023-03-16** (v3) `e5150ba804d4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mongodb/apis/mongodb-atlas-app-services-admin-api/changes/groups/:groupId/apps/:appId/users/:userId/reset_email/patch.md)

---

[API](https://skmtc.dev/mongodb/apis/mongodb-atlas-app-services-admin-api.md) · [All operations](https://skmtc.dev/mongodb/apis/mongodb-atlas-app-services-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mongodb/mongodb-atlas-app-services-admin-api/revisions/1365ab72bc03/schema)
