curl --request DELETE \
--url https://api.hubapi.com/cms/source-code/2026-03/{environment}/content/{path} \
--header 'Authorization: Bearer <token>'This response has no body data.Deletes the file at the specified path in the specified environment.
curl --request DELETE \
--url https://api.hubapi.com/cms/source-code/2026-03/{environment}/content/{path} \
--header 'Authorization: Bearer <token>'This response has no body data.Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Supported products
Required Scopes
Was this page helpful?