Folder

Create Folder

Folders help you organize files within a namespace using clear, logical paths.

You can create folders ahead of uploading files to build a structured storage layout, making it easier to manage and filter your files by location.


How It Works

  1. Call createFolder(name, location) on your namespace.
  2. Provide a folder name and the location path where it should live.
  3. If you pass an empty string as the location, the folder is created at the root (/).
  4. You can use the SDK or a direct API request to create a folder: