> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Onedrive move item

> Move a OneDrive file or folder into a different folder, optionally renaming it. Pass destinationParentId from onedrive_list_folder or…

`onedrive_move_item`

Move a OneDrive file or folder into a different folder, optionally renaming it. Pass `destinationParentId` from `onedrive_list_folder` or `onedrive_create_folder`.

## Parameters

<ParamField path="itemId" type="string" required>
  OneDrive item id.
</ParamField>

<ParamField path="destinationParentId" type="string" required>
  Target folder id.
</ParamField>

<ParamField path="newName" type="string">
  Optional new name for the item.
</ParamField>
