Rename a SharePoint Item
Overview
This procedure renames a folder or a file using the Microsoft Graph API.
Input Concepts
Concept
Description
Type
Required
Default Value
item
A SharePoint file that will be renamed.
sharepoint file reference
or sharepoint folder reference
Yes
N/A
name
The new name for the file.
text
Yes
N/A
conflict behavior
The behavior when a conflict occurs. Possible values are 'fail', 'replace', 'rename'.
text
No
rename
Examples
Rename a file
Last updated
Was this helpful?