Method: projects.deployments.delete
Deletes a deployment of an Apps Script project.
HTTP request
DELETE https://script.googleapis.com/v1/projects/{scriptId}/deployments/{deploymentId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
scriptId |
string
The script project's Drive ID.
|
deploymentId |
string
The deployment ID to be undeployed.
|
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/script.deployments
For more information, see the OAuth 2.0 Overview.
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 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["Deletes a specific deployment of an Apps Script project using its `scriptId` and `deploymentId`."],["Requires an empty request body and returns an empty response body upon successful deletion."],["Needs authorization with the `https://www.googleapis.com/auth/script.deployments` scope."],["Uses a `DELETE` request to the specified URL with the project's and deployment's IDs as path parameters."]]],[]]