Method: notes.delete
Menghapus catatan. Penelepon harus memiliki peran OWNER
di catatan untuk menghapus. Menghapus catatan akan langsung menghapus resource dan tidak dapat diurungkan. Semua kolaborator akan kehilangan akses ke catatan.
Permintaan HTTP
DELETE https://keep.googleapis.com/v1/{name=notes/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama catatan yang akan dihapus.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan kosong.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/keep
Untuk informasi selengkapnya, lihat Panduan otorisasi.
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 2024-09-05 UTC.
[null,null,["Terakhir diperbarui pada 2024-09-05 UTC."],[[["Deletes a specified note permanently and immediately, revoking access for all collaborators."],["Requires the `OWNER` role for the note and uses the `DELETE` HTTP method with the note's name in the URL path."],["The request body should be empty, and a successful deletion results in an empty response body."],["Authorization necessitates the `https://www.googleapis.com/auth/keep` OAuth scope."]]],[]]