Reputation: 2108
Is there any way to rename Google Apps Script project using API? I can't find any appropriate method for this.
UPD: I want to change Project's name like
Upvotes: 1
Views: 1791
Reputation: 201643
You can modify the project name of the container-bound script type using Drive API. In order to use this, please retrieve the project ID, retrieve access token and enable Drive API.
PATCH https://www.googleapis.com/drive/v3/files/### project ID ###
{
"name": "### Modified name ###"
}
Upvotes: 2