Rename or move a OneDrive or SharePoint item within the same drive
Changed onRequires Files.ReadWrite and filesWrite for the member's own OneDrive, or Files.ReadWrite.All and filesFull for other drives. Updates only the name and/or parent folder id; cannot move across drives or upload content. Uses only the calling member's delegated Microsoft 365 connection. Never automatically retry a mutation after a timeout, cancellation, or ambiguous response; inspect current state first.
Request
- Base URLhttps://api.openworklabs.com
- URLhttps://api.openworklabs.com/v1/capabilities/microsoft-365/drive-file/{itemId}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Microsoft Graph drive item id.
Request body
Response
Microsoft Graph mutation receipt returned.
Changes
- breaking
the response property
/became nullable for the status - info
response property
file/sizelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking
- info
added the new optional request property
- info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info