---
title: "Update One Invitation in One Organization by Invitation ID"
method: PATCH
path: "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}"
tags: ["Organizations"]
deprecated: true
---

# Update One Invitation in One Organization by Invitation ID

`PATCH /api/atlas/v2/orgs/{orgId}/invites/{invitationId}`

> **Deprecated.**

Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the unique identification string for that invitation. Use the Return All Organization Invitations endpoint to retrieve IDs for all pending organization invitations. 

**Note**: Invitation management APIs are deprecated. Use Update One MongoDB Cloud User in One Organization to update a pending user.

## Path parameters

- `orgId` string, required
- `invitationId` string, required

## Query parameters

- `envelope` boolean
- `pretty` boolean

## Response `200`

OK

## 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)
