Synology Drive icon

Synology Drive

Synology Drive / FileStation operations

Create Folder

AI-generated

Summary

Create a new folder inside a specified parent folder on the Synology NAS using Synology Drive/FileStation APIs.

Inputs

  • Parent Folder — The full path to the parent directory where the new folder will be created. Defaults to the root directory '/' if not specified.
  • Folder Name (required) — The name of the new folder to create inside the parent folder.
  • Extra Params (JSON) — Additional optional parameters in JSON format to customize the folder creation API call.

Output shape

a JSON object indicating success or failure, plus details of the created folder if successful

The operation returns the response from the Synology DSM API SYNO.FileStation.CreateFolder create method. The response includes success status and folder information or error details if creation failed.

Examples

Example 1: Create a subfolder named 'Projects' under '/Documents'

Set Parent Folder to '/Documents', Folder Name to 'Projects', and optionally provide any additional parameters via Extra Params (JSON).

Links

Discussion