Hãy thử máy chủ MCP cho Google Analytics. Cài đặt từ
GitHub và xem
thông báo để biết thêm thông tin chi tiết.
Method: properties.rollupPropertySourceLinks.delete
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Xoá đường liên kết đến nguồn của tài sản tổng hợp. Chỉ tài sản cuộn lên mới có thể có đường liên kết nguồn, vì vậy, phương thức này sẽ gửi lỗi nếu được sử dụng trên các loại tài sản khác.
Yêu cầu HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}
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. Định dạng: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Ví dụ: properties/1234/rollupPropertySourceLinks/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-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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`"]]