createFolder
FunctioncreateFolder(requestOptions: ICreateFolderOptions): Promise<IAddFolderResponse>Create a folder. See the REST Documentation for more information.
import { createFolder } from "@esri/arcgis-rest-portal"; createFolder({ title: 'Map Collection', authentication: ArcGISIdentityManager }) .then(response)Parameters
| Parameter | Type | Notes |
|---|---|---|
request | ICreateFolderOptions | Options for the request |
Returns
Promise<IAddFolderResponse>A Promise that resolves with folder details once the folder has been created