Skip to main content
DELETE
Delete a file

Supported products

Authorizations

Authorization
string
header
required

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

Path Parameters

environment
string
required

The environment from which the content file will be deleted. This identifies the specific context or workspace within your HubSpot account.

path
string
required

The path of the content file to be deleted. This should be a valid string that specifies the location of the file within the environment.

Pattern: .+

Response

No content

Last modified on September 9, 2026