---
title: "Changes to Update One Document"
method: POST
path: "/action/updateOne"
---

# Changes to Update One Document

`POST /action/updateOne`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2023-05-11** `5088bc79b2f0`: 4 breaking

## Changes

- **2023-05-11** `5088bc79b2f0`: 4 breaking
  - the `allOf[subschema #1: UpdateResponseBody]/matchedCount` response's property type changed from `number, object` to no type for status `200` (media type: application/json)
  - the `allOf[subschema #1: UpdateResponseBody]/matchedCount` response's property type changed from `number, object` to no type for status `200` (media type: application/ejson)
  - the `allOf[subschema #1: UpdateResponseBody]/modifiedCount` response's property type changed from `number, object` to no type for status `200` (media type: application/json)
  - the `allOf[subschema #1: UpdateResponseBody]/modifiedCount` response's property type changed from `number, object` to no type for status `200` (media type: application/ejson)

---

[Operation](https://skmtc.dev/mongodb/apis/mongodb-atlas-data-api/docs/action/updateOne/post.md) - [API](https://skmtc.dev/mongodb/apis/mongodb-atlas-data-api.md) - [Page](https://skmtc.dev/mongodb/apis/mongodb-atlas-data-api/changes/action/updateOne/post)
