script.projects.deployments.update
Update an Apps Script deployment's configuration, such as its version, description, or manifest, using a JSON UpdateDeploymentRequest. Blocked under read-only safety profiles.
Instructions
Updates a deployment of an Apps Script project [HTTP PUT] — updates the resource; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON UpdateDeploymentRequest object accepting deploymentConfig; pass it via params or whole via body_file Siblings over the same resource: create, delete, get, list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| scriptId | Yes | [URL path segment] The script project's Drive ID. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON UpdateDeploymentRequest object. | |
| deploymentId | Yes | [URL path segment] The deployment ID for this deployment. | |
| request_body | No | Request body of type UpdateDeploymentRequest: pass it via `params` (merged into the built body) or whole via `body_file`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updateTime | No | ||
| entryPoints | No | ||
| deploymentId | No | ||
| deploymentConfig | No |