moveItem
FunctionmoveItem(requestOptions: IMoveItemOptions): Promise<IMoveItemResponse>Move an item to a folder. See the REST Documentation for more information.
import { moveItem } from "@esri/arcgis-rest-portal";
//
moveItem({
itemId: "3ef",
folderId: "7c5",
authentication: ArcGISIdentityManager
})Parameters
| Parameter | Type | Notes |
|---|---|---|
request | IMoveItemOptions | Options for the request |
Returns
Promise<IMoveItemResponse>A Promise that resolves with owner and folder details once the move has been completed