Function create_folder_batch

Source
pub fn create_folder_batch(
    client: &impl UserAuthClient,
    arg: &CreateFolderBatchArg,
) -> Result<CreateFolderBatchLaunch, Error<NoError>>
Available on crate features sync_routes and dbx_files only.
Expand description

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.