Method: properties.keyEvents.delete
Yêu cầu HTTP
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/keyEvents/*}
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 tài nguyên của Sự kiện chính cần xoá. Định dạng: properties/{property}/keyEvents/{keyEvent} Ví dụ: "properties/123/keyEvents/456"
|
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 a specific Key Event using the provided resource name."],["Requires an empty request body and returns an empty response body upon success."],["Utilizes the `DELETE` method and requires authorization with the `analytics.edit` scope."],["The Key Event to be deleted is identified through the `name` path parameter, specifying the property and key event IDs."]]],["This document outlines how to delete a Key Event using an API. The core action is a `DELETE` HTTP request sent to a specific URL: `https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/keyEvents/*}`. The `name` parameter within the URL, specifying the Key Event's resource path (e.g., \"properties/123/keyEvents/456\"), is required. The request body must be empty, and a successful operation returns an empty JSON object. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope.\n"]]