create_folder_batch
POST https://api.dropboxapi.com/2/files/create_folder_batch
scope: files.content.write
Create multiple folders at once.
This route is asynchronous for large batches, which returns a job ID immediately and runs the create folder batch asynchronously. Otherwise, creates the folders and returns the result synchronously for smaller inputs. You can force asynchronous behaviour by using the CreateFolderBatchArg.force_async flag. Use create_folder_batch/check to check the job status.
Request Body
{"paths"=>["/Homework/math"], "autorename"=>false, "force_async"=>false}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Dropbox-API-Path-Root | string | ||
Dropbox-API-Select-User | string | ||
Dropbox-API-Select-Admin | string |
RESPONSES
status: OK
{".tag":"complete","entries":[{".tag":"success","metadata":{"name":"math","id":"id:a4ayc_80_OEAAAAAAAAAXz","path_lower":"/homework/math","path_display":"/Homework/math","sharing_info":{"read_only":false,"parent_shared_folder_id":"84528192421","traverse_only":false,"no_access":false},"property_groups":[{"template_id":"ptid:1a5n2i6d3OYEAAAAAAAAAYa","fields":[{"name":"Security Policy","value":"Confidential"}]}]}}]}