---
title: "Remove One MongoDB Cloud User from One Project"
method: DELETE
path: "/api/atlas/v2/groups/{groupId}/users/{userId}"
tags: ["MongoDB Cloud Users"]
---

# Remove One MongoDB Cloud User from One Project

`DELETE /api/atlas/v2/groups/{groupId}/users/{userId}`

Removes one MongoDB Cloud user from the specified project. You can remove an active user or a user that has not yet accepted the invitation to join the organization.

**Note**: This resource cannot be used to remove pending users invited via the deprecated Invite One MongoDB Cloud User to Join One Project endpoint.

**Note**: To remove pending or active users, use v2-{2025-02-19} or later. If using a deprecated version, only active users can be removed.

## Path parameters

- `groupId` string, required
- `userId` string, required

## Query parameters

- `envelope` boolean
- `pretty` boolean

## Response `204`

No Content

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `429` — Too Many Requests.
- `500` — Internal Server Error.

---

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