Method: properties.dataStreams.delete
Xoá DataStream trên một tài sản.
Yêu cầu HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*}
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 DataStream cần xoá. Định dạng ví dụ: properties/1234/dataStreams/5678
|
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 specified DataStream associated with a Google Analytics 4 property."],["Requires providing the DataStream name in the URL path using the format: `properties/{property_id}/dataStreams/{stream_id}`."],["Uses an HTTP DELETE request with an empty body and returns an empty response upon successful deletion."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details the process of deleting a DataStream using a DELETE HTTP request. The request is sent to a specific URL, structured with gRPC Transcoding syntax, requiring a `name` path parameter that identifies the DataStream (e.g., `properties/1234/dataStreams/5678`). The request body must be empty. A successful deletion returns an empty JSON object in the response body. The process requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization.\n"]]