---
title: "Changes to Create or replace a OneDrive text file as the calling member"
method: PUT
path: "/v1/capabilities/microsoft-365/drive-files"
---

# Changes to Create or replace a OneDrive text file as the calling member

`PUT /v1/capabilities/microsoft-365/drive-files`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 308 revisions.

- **2026-10-23** `c93387179b31`: 1 breaking, 1 info
- **2026-10-23** `3e38eb291e52`: 5 info
- **2026-09-11** `bb8ff73e4ad3`: 2 info
- **2026-09-10** `7d79c843d137`: 2 info

## Changes

- **2026-10-23** `c93387179b31`: 1 breaking, 1 info
  - the response property `file/size` became nullable for the status `200`
  - response property `file/size` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
- **2026-10-23** `3e38eb291e52`: 5 info
  - added the new optional request property `driveId`
  - added the required property `file/driveId` to the response with the `200` status
  - added the required property `file/eTag` to the response with the `200` status
  - added the required property `file/parentId` to the response with the `200` status
  - added the required property `file/siteId` to the response with the `200` status
- **2026-09-11** `bb8ff73e4ad3`: 2 info
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `denApiKey` was added to the API
- **2026-09-10** `7d79c843d137`: 2 info
  - added the optional property `outcome` to the response with the `502` status
  - added the optional property `retryable` to the response with the `502` status

---

[Operation](https://skmtc.dev/openworklabs/apis/den-api/docs/v1/capabilities/microsoft-365/drive-files/put.md) - [API](https://skmtc.dev/openworklabs/apis/den-api.md) - [Page](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/capabilities/microsoft-365/drive-files/put)
