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

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

    Parameters

    Returns Promise<IMoveItemResponse>

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