Folders
Delete folder by ID
Changed onDelete a folder in your HubSpot account using its ID. This operation deletes the folder and its contents recursively.
delete/files/2026-09/folders/{folderId}
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/files/2026-09/folders/{folderId}
- AuthOAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: files.ui_hidden.write
Path parameters
folderIdstring required
The ID of the folder to delete.
Response
No content
Changes
- info
api tag
Foldersadded - info
api tag
Basicremoved
- info
- info
the security scope
files.ui_hidden.writewas added to the endpoint's security schemeoauth2 - info
the security scope
files.deletewas removed from the endpoint's security schemeoauth2
- info