Skip to main content
POST
Move a folder
Minimum required API key scope: Read/Write

Use Cases

  • Reorganize: Move a folder, with everything inside it, under another folder.
  • Move to the Top Level: Pass parent_folder_id: null to move a folder to the top level of the library.

Headers

X-Dune-Api-Key
string
required

API Key for the service

Path Parameters

folder_id
string
required

Folder id

Query Parameters

api_key
string

API Key, alternative to using the HTTP header X-Dune-Api-Key

Body

application/json

New parent folder

parent_folder_id
string | null
required

ParentFolderID is the new parent folder, or null to move the folder to the library root. The field is required so that a missing value never moves a folder by accident.

Response

OK

color
string

Color is a preset name or a hex value.

Example:

"blue"

created_at
string
description
string
folder_id
string
Example:

"dp180Cu3jW3L"

icon
string
Example:

"folder"

name
string
Example:

"RWA"

parent_folder_id
string

ParentFolderID is null for a folder at the library root.

Example:

"aZ3kP0qLm9Xc"

path
string

Path is the full path from the library root.

Example:

"/Research/RWA"

updated_at
string