Method: properties.dataStreams.measurementProtocolSecrets.delete
ターゲット MeasurementProtocolSecret を削除します。
HTTP リクエスト
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。削除する MeasurementProtocolSecret の名前。Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空の JSON オブジェクトになります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.edit
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-14 UTC。
[null,null,["最終更新日 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"]]