ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
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-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eDeletes a roll-up property source link, applicable only to roll-up properties, and throws an error if used on other property types.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP DELETE request with a specific URL structure including property and roll-up property source link IDs.\u003c/p\u003e\n"],["\u003cp\u003eRequires an empty request body and returns an empty response body upon successful deletion.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.edit\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: properties.rollupPropertySourceLinks.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.\n\n### HTTP request\n\n`DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678 |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.edit`"]]