Skip to main content
PATCH
Rename or move a OneDrive item within the same drive

Authorizations

Authorization
string
header
required

Session token passed as Authorization: Bearer <session-token> for user-authenticated Den routes.

Path Parameters

itemId
string
required

Microsoft Graph drive item id.

Required string length: 1 - 512

Body

application/json
name
string
Required string length: 1 - 255
parentId
string

Destination folder id within the calling member's same OneDrive; cross-drive moves are not supported.

Required string length: 1 - 512

Response

Microsoft Graph mutation receipt returned.

ok
boolean
required
file
object
required