---
title: "PUT /v1/projects/{scriptId}/deployments/{deploymentId}"
method: PUT
path: "/v1/projects/{scriptId}/deployments/{deploymentId}"
tags: ["projects"]
---

# PUT /v1/projects/{scriptId}/deployments/{deploymentId}

`PUT /v1/projects/{scriptId}/deployments/{deploymentId}`

Updates a deployment of an Apps Script project.

## Path parameters

- `scriptId` string, required
- `deploymentId` string, required

## Request body

- UpdateDeploymentRequest — Request with deployment information to update an existing deployment.
  - `deploymentConfig` DeploymentConfig — Metadata the defines how a deployment is configured.
    - `manifestFileName` string — The manifest file name for this deployment.
    - `versionNumber` integer — The version number on which this deployment is based.
    - `scriptId` string — The script project's Drive ID.
    - `description` string — The description for this deployment.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/script.md) · [All operations](https://skmtc.net/google/apis/script/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/script/versions/b83e197f53e2/schema)
