Method: properties.dataStreams.measurementProtocolSecrets.delete
Xoá MeasurementProtocolSecret mục tiêu.
Yêu cầu HTTP
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Bắt buộc. Tên của MeasurementProtocolSecret cần xoá. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ là một đối tượng JSON trống.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/analytics.edit
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-01-14 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]