Is there a way to rename a Google Drive folder via the REST API?
The folders I want to do this with typically have subfolders and files inside them.
I've found documentation for renaming files, but nothing about folders.
Is there a way to rename a Google Drive folder via the REST API?
The folders I want to do this with typically have subfolders and files inside them.
I've found documentation for renaming files, but nothing about folders.
Use Drive API files.update. Your request body should look something like:
{
"name": "newFileName"
}