Skip to main content

Rename Items

Use this API to rename items

Path Parameters
driveId string REQUIRED
Request Body REQUIRED
files object[]

List of files whose names / descriptions are to be updated.

itemId string

Id of the textual file whose contents you want to update.

fieldsToBeUpdated string[]

List of fields to be updated. Possible values are 'name' and 'description'.

newName string

New name of the item.

newDescription string

New description of the item.

Responses
200

Returns the renamed items

Schema OPTIONAL
object