Passer au contenu principal
DELETE
/
cms
/
source-code
/
2026-03
/
{environment}
/
content
/
{path}
Supprimer le fichier
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.

Supported products

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Paramètres de chemin

environment
string
requis

L'environnement à partir duquel le fichier de contenu sera supprimé. Cela peut faire référence à différentes étapes telles que le développement, la préproduction ou la production.

path
string
requis

Le chemin d’accès spécifique au fichier de contenu que vous souhaitez supprimer. Il doit s’agir d’une chaîne de chemin d’accès valide.

Pattern: .+

Réponse

Last modified on April 13, 2026