Method: properties.dataStreams.measurementProtocolSecrets.delete
Hedef MeasurementProtocolSecret'i siler.
HTTP isteği
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Zorunlu. Silinecek MeasurementProtocolSecret anahtarının adı. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Başarılı olursa yanıt metni boş bir JSON nesnesi olur.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/analytics.edit
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-01-14 UTC.
[null,null,["Son güncelleme tarihi: 2025-01-14 UTC."],[[["Deletes the specified MeasurementProtocolSecret, requiring an empty request body."],["Uses the HTTP DELETE method with a URL containing the resource name of the MeasurementProtocolSecret."],["Requires `analytics.edit` authorization scope for successful execution."],["Successful deletion results in an empty response body."],["Resource name format: `properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}`."]]],["This document details how to delete a MeasurementProtocolSecret using a `DELETE` HTTP request. The request URL targets a specific secret via a `name` path parameter, following a defined format. The request body must be empty. A successful deletion returns an empty JSON object. This action requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization. The provided documentation includes information on path parameters, request and response body format, and authorization scope requirements, and a Try-it section.\n"]]