---
title: "Changes to Update a file"
method: PUT
path: "/Files/{FileId}"
---

# Changes to Update a file

`PUT /Files/{FileId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 56 revisions.

- **2024-06-18** `bb86098f8245`: 3 breaking, 17 info
- **2024-06-18** `d277dd2accff`: 2 breaking, 17 warning
- **2024-06-03** `d599b701a104`: 3 breaking, 17 info
- **2024-02-01** `fb29d2ec1038`: 1 breaking

## Changes

- **2024-06-18** `bb86098f8245`: 3 breaking, 17 info
  - added the new required `header` request parameter `xero-tenant-id` to all path's operations
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - added the new optional `header` request parameter `Idempotency-Key`
  - added the new optional request property `CreatedDateUtc`
  - added the new optional request property `FolderId`
  - added the new optional request property `Id`
  - added the new optional request property `MimeType`
  - added the new optional request property `Name`
  - added the new optional request property `Size`
  - added the new optional request property `UpdatedDateUtc`
  - added the new optional request property `User`
  - added the optional property `CreatedDateUtc` to the response with the `200` status
  - added the optional property `FolderId` to the response with the `200` status
  - added the optional property `Id` to the response with the `200` status
  - added the optional property `MimeType` to the response with the `200` status
  - added the optional property `Name` to the response with the `200` status
  - added the optional property `Size` to the response with the `200` status
  - added the optional property `UpdatedDateUtc` to the response with the `200` status
  - added the optional property `User` to the response with the `200` status
- **2024-06-18** `d277dd2accff`: 2 breaking, 17 warning
  - the request's body type changed from `object` to no type
  - the response's body type changed from `object` to no type for status `200`
  - deleted the `header` request parameter `Idempotency-Key`
  - removed the request property `CreatedDateUtc`
  - removed the request property `FolderId`
  - removed the request property `Id`
  - removed the request property `MimeType`
  - removed the request property `Name`
  - removed the request property `Size`
  - removed the request property `UpdatedDateUtc`
  - removed the request property `User`
  - removed the optional property `CreatedDateUtc` from the response with the `200` status
  - removed the optional property `FolderId` from the response with the `200` status
  - removed the optional property `Id` from the response with the `200` status
  - removed the optional property `MimeType` from the response with the `200` status
  - removed the optional property `Name` from the response with the `200` status
  - removed the optional property `Size` from the response with the `200` status
  - removed the optional property `UpdatedDateUtc` from the response with the `200` status
  - removed the optional property `User` from the response with the `200` status
- **2024-06-03** `d599b701a104`: 3 breaking, 17 info
  - added the new required `header` request parameter `xero-tenant-id` to all path's operations
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - added the new optional `header` request parameter `Idempotency-Key`
  - added the new optional request property `CreatedDateUtc`
  - added the new optional request property `FolderId`
  - added the new optional request property `Id`
  - added the new optional request property `MimeType`
  - added the new optional request property `Name`
  - added the new optional request property `Size`
  - added the new optional request property `UpdatedDateUtc`
  - added the new optional request property `User`
  - added the optional property `CreatedDateUtc` to the response with the `200` status
  - added the optional property `FolderId` to the response with the `200` status
  - added the optional property `Id` to the response with the `200` status
  - added the optional property `MimeType` to the response with the `200` status
  - added the optional property `Name` to the response with the `200` status
  - added the optional property `Size` to the response with the `200` status
  - added the optional property `UpdatedDateUtc` to the response with the `200` status
  - added the optional property `User` to the response with the `200` status
- **2024-02-01** `fb29d2ec1038`: 1 breaking
  - request body became required

---

[Operation](https://skmtc.dev/xeroapi/apis/xero-files-api/docs/Files/:FileId/put.md) - [API](https://skmtc.dev/xeroapi/apis/xero-files-api.md) - [Page](https://skmtc.dev/xeroapi/apis/xero-files-api/changes/Files/:FileId/put)
