Method: projects.deployments.delete Stay organized with collections Save and categorize content based on your preferences.
Page Summary
This page details how to delete a deployment of an Apps Script project using a DELETE HTTP request.
The DELETE request requires both a scriptId and a deploymentId as path parameters.
The request body for this DELETE operation must be empty.
A successful response body is also empty.
Deleting a deployment requires authorization using the
https://www.googleapis.com/auth/script.deploymentsOAuth scope.
Deletes a deployment of an Apps Script project.
HTTP request
DELETE https://script.googleapis.com/v1/projects/{scriptId}/deployments/{deploymentId}
The URL usesgRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
scriptId |
The script project's Drive ID. |
deploymentId |
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 theOAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.