API: Creating folders
| Target URL | /api.php/Drive/files/createfolder |
| Required scope | upload |
| HTTP Method | POST/GET |
| Output format | JSON |
Request Parameters Reference
| Parameter | Type | Required | Description |
|---|---|---|---|
| path | string | Yes | FileRun path of the new folder's parent. See this page |
| name | string | Yes | Name of the new folder. |
The account needs to be allowed to upload into the parent folder.
The response carries data.folderName, the name of the new folder, and data.relativePath, the FileRun path of the parent folder as it was sent.