Method: projects.deployments.delete
Menghapus deployment project Apps Script.
Permintaan HTTP
DELETE https://script.googleapis.com/v1/projects/{scriptId}/deployments/{deploymentId}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
scriptId |
string
ID Drive project skrip.
|
deploymentId |
string
ID deployment yang akan dibatalkan deployment-nya.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan kosong.
Cakupan Otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/script.deployments
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-12-01 UTC.
[null,null,["Terakhir diperbarui pada 2023-12-01 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."]]],[]]