Advanced
Create a file
Changed onCreates a file at the specified path in the specified environment. Accepts multipart/form-data content type. Throws an error if a file already exists at the specified path.
post/cms/source-code/2026-03/{environment}/content/{path}
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/cms/source-code/2026-03/{environment}/content/{path}
- Auth
- HTTP bearer
- or API key in query parameter hapikey
- or none
Path parameters
environmentstring required
pathstring required
Request body multipart/form-data
Response
successful operation
Changes
- info
api operation id
post-/cms/source-code/2026-03/{environment}/content/{path}_createremoved and replaced withpost-/cms/source-code/2026-03/{environment}/content/{path}
- info
- info
api tag
Advancedadded - info
api tag
Contentremoved
- info
Some revisions have not been checked yet.