Send feedback
Managing Deployments
This section provides an overview of the Apps Script API methods you can
use to create, list, read, modify, and delete a script project's
deployments .
API method overview
Create a deployment
projects.deployments.create
Results : Create a new deployment for a script project.
You specify the code version ,
the manifest file, and
deployment description to use. Returns a
Deployment
object, containing the deployment configuration details.
List a project's deployments
projects.deployments.list
Results : Returns an array of
Deployment
objects, each representing one of the
deployments of the script project.
Read a deployment
projects.deployments.get
Results : Returns a
Deployment
that represents a specific deployment
in a specific script project.
Update a deployment
projects.deployments.update
Results : Changes a deployment's description, code
version , or the
manifest where the
deployment is defined.
Delete a deployment
projects.deployments.delete
Results : Removes a deployment.
Warning: Deleting a deployment causes
any add-on, web app, or other application that makes use of that
deployment to lose access to the Apps Script project, usually causing
them to fail. Do not delete a deployment without first updating any apps
that depend on it.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-10-06 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?