---
title: "POST /cms/source-code/2026-09/{environment}/content/{path}"
method: POST
path: "/cms/source-code/2026-09/{environment}/content/{path}"
tags: ["Advanced"]
deprecated: true
---

# POST /cms/source-code/2026-09/{environment}/content/{path}

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

> **Deprecated.**

## Path parameters

- `environment` string, required
- `path` string, required

## Response `200`

successful operation

- AssetFileMetadata
  - `archivedAt` integer — Timestamp of when the object was archived (deleted).
  - `children` string[] — If the object is a folder, contains the filenames of the files within the folder.
  - `createdAt` integer, required — Timestamp of when the object was first created.
  - `folder` boolean, required — Determines whether or not this path points to a folder.
  - `hash` string — A unique identifier for the file's content, used to verify data integrity.
  - `id` string, required — The path of the file in the CMS Developer File System.
  - `name` string, required — The name of the file.
  - `updatedAt` integer, required — Timestamp of when the object was last updated.

## Other responses

- `default` — An error occurred.

## Changes

- **2026-07-13** (v3) `c65eed267c81` — 1 info
  - endpoint added
- **2026-04-10** (v3) `5b0e420eb2af` — 1 info
  - api path removed with deprecation

[Change history](https://skmtc.dev/hubspot/apis/cms-source-code/changes/cms/source-code/2026-09/:environment/content/:path/post.md)

---

[API](https://skmtc.dev/hubspot/apis/cms-source-code.md) · [All operations](https://skmtc.dev/hubspot/apis/cms-source-code/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hubspot/cms-source-code/revisions/c65eed267c81/schema)
