Method: properties.dataStreams.delete
ลบสตรีมข้อมูลในพร็อพเพอร์ตี้
คำขอ HTTP
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อสตรีมข้อมูลที่จะลบ ตัวอย่างรูปแบบ: properties/1234/dataStreams/5678
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะเป็นออบเจ็กต์ 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 a specified DataStream associated with a Google Analytics 4 property."],["Requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."],["Uses an HTTP DELETE request with the DataStream name in the URL path."],["The request body should be empty, and a successful deletion returns an empty response body."]]],["The core content describes deleting a DataStream within a property using a `DELETE` HTTP request to a specific URL, formatted with gRPC Transcoding. The `name` path parameter, a string specifying the DataStream's location (e.g., `properties/1234/dataStreams/5678`), is mandatory. The request body must be empty. A successful deletion results in an empty JSON response. This operation requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization.\n"]]