Aliyun OSS | 阿里云对象存储 icon

Aliyun OSS | 阿里云对象存储

管理阿里云 OSS 上的 Bucket、文件夹与文件 / Manage Aliyun OSS buckets, folders, and files.

Folder | 目录 → Create | 创建

AI-generated

Summary

Create a new folder within a specified bucket in Aliyun OSS by specifying its name and optional parent folder path.

Inputs

  • Bucket Name | 存储桶名称 — Target bucket name to create the folder in; defaults to the bucket specified in credentials if left empty.
  • Folder Name | 目录名称 (required) — The name of the new folder to create.
  • Parent Folder Key | 父目录路径 — Optional parent folder key path without leading slash to nest the new folder inside.

Output shape

a single JSON object indicating success with properties including the bucket name and the normalized full folder key (ending with a slash).

The folder key is constructed by combining the optional parent folder path (without leading or trailing slashes) and folder name, joined by a slash and normalized to end with a slash. The operation returns an object with success status, bucket name, and folder key as confirmation.

Examples

Example 1: Create folder 'reports' inside the 'documents' parent folder in 'my-bucket'

Set Bucket Name to 'my-bucket', Folder Name to 'reports', Parent Folder Key to 'documents'.

Links

Discussion