Home > DMT_Folder > createFolder
DMT_Folder.createFolder() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
创建文件夹
Signature
typescript
createFolder(folderName: string, teamUuid: string, parentFolderUuid?: string, description?: string): Promise<string | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
folderName | string | 文件夹名称 |
teamUuid | string | 团队 UUID |
parentFolderUuid | string | (Optional) 父文件夹 UUID,如若不指定,则为根文件夹 |
description | string | (Optional) 文件夹描述 |
Returns
Promise<string | undefined>
文件夹 UUID,如若为 undefined
则创建失败