Zum Hauptinhalt springen
DELETE
/
cms
/
v3
/
source-code
/
{environment}
/
content
/
{path}
Eine Datei löschen
curl --request DELETE \
  --url https://api.hubapi.com/cms/v3/source-code/{environment}/content/{path} \
  --header 'Authorization: Bearer <token>'
This response has no body data.

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Kostenlos
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Starter

Autorisierungen

Authorization
string
header
erforderlich

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

Pfadparameter

environment
string
erforderlich

Die Umgebung der Datei („Entwurf“ oder „veröffentlicht“).

path
string
erforderlich

Der Dateisystem-Speicherort der Datei.

Antwort

Last modified on January 26, 2026