removeFolder(requestOptions:Â IFolderIdOptions): Promise<{ folder: { id: string; title: string; username: string }; success: boolean }>
Delete a non-root folder and all the items it contains. See the REST Documentation for more information.
Use dark colors for code blocks Copy
1
2
3
4
5
6
7
8
import { removeFolder } from "@esri/arcgis-rest-portal";
removeFolder({
folderId: "fe4",
owner: "c@sey",
authentication
})
.then(response)
Returns Promise<{ folder: { id: string; title: string; username: string }; success: boolean }>
A Promise that deletes a folder
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4