movePortalItem

suspend fun movePortalItem(portalItem: PortalItem, toFolder: PortalFolder? = null): Result<Unit>

Moves the specified item to the specified folder.

Return

a Result indicating if the moving operation was successful or not

Since

200.0.0

Parameters

portalItem

the item to move

toFolder

the folder to which to move the item. If null, the item will be moved to this user's root folder.