---
title: "Changes to Update Document File"
method: POST
path: "/documents/{document_id}/update_file"
---

# Changes to Update Document File

`POST /documents/{document_id}/update_file`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 14 revisions.

- **2026-01-22** `2d9291c3821d`: 2 info
- **2025-12-18** `4b79c3821a17`: 2 warning, 5 info
- **2025-12-06** `e185c542e939`: 1 info
- **2025-11-13** `b9ae748cb938`: 2 info
- **2025-11-05** `9ade02dd7b1d`: 1 warning

## Changes

- **2026-01-22** `2d9291c3821d`: 2 info
  - `header` request parameter `authorization` list-of-types was widened by adding types `null`
  - for the `header` request parameter `authorization`, the type was generalized from `string` to no type
- **2025-12-18** `4b79c3821a17`: 2 warning, 5 info
  - removed the request property `update_strategy`
  - removed the optional property `storage_files` from the response with the `200` status
  - added the optional property `folder_id` to the response with the `200` status
  - added the optional property `summary_bucket` to the response with the `200` status
  - added the optional property `summary_storage_key` to the response with the `200` status
  - added the optional property `summary_updated_at` to the response with the `200` status
  - added the optional property `summary_version` to the response with the `200` status
- **2025-12-06** `e185c542e939`: 1 info
  - added the optional property `folder_path` to the response with the `200` status
- **2025-11-13** `b9ae748cb938`: 2 info
  - added the new optional request property `metadata_types`
  - added the optional property `metadata_types` to the response with the `200` status
- **2025-11-05** `9ade02dd7b1d`: 1 warning
  - removed the request property `rules`

---

[Operation](https://skmtc.dev/morphik-org/apis/morphik-api/docs/documents/:document_id/update_file/post.md) - [API](https://skmtc.dev/morphik-org/apis/morphik-api.md) - [Page](https://skmtc.dev/morphik-org/apis/morphik-api/changes/documents/:document_id/update_file/post)
