moveItem

Function

import { moveItem } from '@esri/arcgis-rest-items';
//
moveItem({
  itemId: "3ef",
  folderId: "7c5",
  authentication: userSession
})

Move an item to a folder. See the REST Documentation for more information.

Parameters

Parameter Type Default Notes
requestOptions Required IItemMoveRequestOptions

Options for the request

Returns

Promise<IItemMoveResponse> - A Promise that resolves with owner and folder details once the move has been completed


Function defined in packages/arcgis-rest-items/src/update.ts:127