moveItem

moveItem

Function
moveItem(requestOptionsIMoveItemOptions): Promise<IMoveItemResponse>

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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
import { moveItem } from "@esri/arcgis-rest-portal";
//
moveItem({
  itemId: "3ef",
  folderId: "7c5",
  authentication: ArcGISIdentityManager
})
Parameters
ParameterTypeNotes
requestOptions
IMoveItemOptions

Options for the request

Returns 
Promise<IMoveItemResponse>

A Promise that resolves with owner and folder details once the move has been completed

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.