---
title: "Changes to Create or update a file"
method: PUT
path: "/cms/source-code/2026-09/{environment}/content/{path}"
---

# Changes to Create or update a file

`PUT /cms/source-code/2026-09/{environment}/content/{path}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 6 revisions.

- **2026-11-02** (2026-09) `66faf709910f`: 2 info
- **2026-09-03** (2026-09) `c6044a4f2b89`: 1 info

## Changes

- **2026-11-02** (2026-09) `66faf709910f`: 2 info
  - the security scope `cms.source_code.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`
- **2026-09-03** (2026-09) `c6044a4f2b89`: 1 info
  - the endpoint scheme security `private_apps` was removed from the API

---

[Operation](https://skmtc.dev/hubspot/apis/cms-source-code/docs/cms/source-code/2026-09/:environment/content/:path/put.md) - [API](https://skmtc.dev/hubspot/apis/cms-source-code.md) - [Page](https://skmtc.dev/hubspot/apis/cms-source-code/changes/cms/source-code/2026-09/:environment/content/:path/put)
