Actions36
- List Files
- Search Files
- Download File
- Upload File
- Create Folder
- Rename
- Delete
- Copy / Move
- List Starred Files
- List Recent Files
- List Shared with Me
- List Shared with Others
- Get File Ancestors
- Create Share Link
- List Share Links
- Update Share Permissions
- List Labels
- Create Label
- Update Label
- Delete Label
- Add Label to File
- List Files by Label
- Star File
- Convert Office File
- List Team Folders
- Get Team Folder Members
- Create Webhook
- List Webhooks
- Get Webhook
- Update Webhook
- Delete Webhook
- Get File Thumbnail
- Upload from DSM
- Request Access
- Custom Drive Call
- List Drive APIs
Create Folder
AI-generatedSummary
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).
