Move or Rename a folder

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

Method Details

HTTP Methods:

POST

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

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.