Actions12
Folder → Update
AI-generatedSummary
Rename or move a folder in HubSpot File Manager.
Inputs
- folderId (required) — The unique ID of the folder.
- updateFolderName — New name for the folder. Leave empty to keep current name.
- updateFolderParentId — Move folder to a different parent folder by specifying the folder ID. Leave empty to keep in current location.
Output shape
The HubSpot API returns the updated folder object.
At least one of updateFolderName or updateFolderParentId must be provided; otherwise the operation throws an error.
Examples
Example 1: Rename a folder to 'Documents'.
folderId: 1234567890, updateFolderName: 'Documents'
Example 2: Move folder to a new parent.
folderId: 1234567890, updateFolderParentId: 9876543210