Rename an existing folder without changing its location in the folder hierarchy. Use this API when you want to update the folder name while preserving the same folder ID, parent folder, and library context.
Path parameters
Parameter
Description
folderId
any
required
Folder id
Query parameters
Parameter
Description
library
string
optional
One of sharepoint, msteams, google, onedrive, box, dropbox, cloudfiles, s3, azure, hubspot, azurefiles, sftp
driveId
string
optional
Drive id. Required when library is sharepoint or msteams.
Header parameters
Parameter
Description
Authorization
string
optional
Replace the API_Key placeholder with your actual API key.