There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Move or Rename a folder

Last updated June 17, 2020

POST /filemanager/api/v2/folders/:folder_id/move-folder

Method Details

HTTP Methods:


Content Type:


Response Format:


Requires Authentication?


Rate Limited?





Marketing & CRM

Required Scope:


This endpoint allows you to rename a folder or change its' location.

To rename it, pass an updated name parameter. To move it, pass an updated parent_folder_id. Use a parent_folder_id of null to move it to the root folder.

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
folder_id Used in the request URL Unique identifier for a particular blog

Allowed JSON Fields in the body

Parameter name Type Description
parent_folder_id integer The id of the new folder to move the folder into.
name string The new name of the folder.