Method: properties.rollupPropertySourceLinks.delete
ลบลิงก์แหล่งที่มาของพร็อพเพอร์ตี้ภาพรวม มีเพียงพร็อพเพอร์ตี้ภาพรวมเท่านั้นที่มีลิงก์แหล่งที่มาได้ ดังนั้นวิธีนี้จะแสดงข้อผิดพลาดหากใช้ในพร็อพเพอร์ตี้ประเภทอื่นๆ
คำขอ HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ รูปแบบ: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} ตัวอย่างเช่น properties/1234/rollupPropertySourceLinks/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 roll-up property source link, applicable only to roll-up properties, and throws an error if used on other property types."],["Uses an HTTP DELETE request with a specific URL structure including property and roll-up property source link IDs."],["Requires an empty request body and returns an empty response body upon successful deletion."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document outlines how to delete a roll-up property source link via an HTTP DELETE request. The request URL specifies the link to be deleted using a predefined format with `property_id` and `rollup_property_source_link_id`. No request body is needed. A successful deletion returns an empty JSON object. This action is limited to roll-up properties and requires the `analytics.edit` OAuth scope for authorization. The path parameter `name` format is required in the request.\n"]]