Advanced
Create or update a file
Changed onUpserts a file at the specified path in the specified environment. Accepts multipart/form-data content type.
put/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
put-/cms/source-code/2026-03/{environment}/content/{path}_createOrUpdateremoved and replaced withput-/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.