Method: properties.channelGroups.delete
Menghapus ChannelGroup di properti.
Permintaan HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/channelGroups/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. ChannelGroup yang akan dihapus. Contoh format: properties/1234/channelGroups/5678
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons adalah objek JSON kosong.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/analytics.edit
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 2025-01-14 UTC.
[null,null,["Terakhir diperbarui pada 2025-01-14 UTC."],[[["Deletes a specified ChannelGroup associated with a Google Analytics 4 property."],["Requires the `analytics.edit` OAuth scope for authorization."],["Uses an HTTP DELETE request with the ChannelGroup's resource name in the URL path."],["The request body should be empty, and a successful deletion results in an empty response body."]]],["This document details the process of deleting a ChannelGroup within a property using an HTTP DELETE request. The request targets a specific ChannelGroup via its `name` path parameter in the URL (e.g., `properties/1234/channelGroups/5678`). The request body must be empty. A successful deletion is confirmed by an empty JSON object in the response body. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The method uses gRPC Transcoding.\n"]]