There's a new version of the HubSpot API

We're also working on a new documentation website, you're invited to check it out and give us your feedback.

Delete a file from the CDN, along with all thumbnails and associated content

Last updated June 24, 2020

POST /filemanager/api/v2/files/:file_id/full-delete

Method Details

HTTP Methods:

POST

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing & CRM

Required Scope:

files

Permanently delete a file and all related data and thumbnails from file manager.

This will permanently remove the file and all related data for the file, and cannot be undone.

Required Parameters How to use Description
OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.
file_id Used in the request URL Unique identifier for a particular file