Đánh dấu Tài sản mục tiêu là đã xoá tạm thời (tức là "đã chuyển vào thùng rác") và trả về tài sản đó.
API này không có phương thức để khôi phục các tài sản bị xoá không vĩnh viễn. Tuy nhiên, bạn có thể khôi phục các tệp đó bằng giao diện người dùng Thùng rác.
Nếu bạn không khôi phục các tài sản trước thời điểm hết hạn, thì Tài sản và tất cả tài nguyên con (ví dụ: GoogleAdsLinks, Streams, AccessBindings) sẽ bị xoá vĩnh viễn. https://support.google.com/analytics/answer/6154772
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-01-14 UTC."],[[["This API allows for the soft deletion of a Google Analytics 4 property, essentially moving it to the trash."],["Soft-deleted properties and their associated resources are permanently deleted after a period; they can be restored before that time via the Trash Can UI."],["The API requires a DELETE request with the property ID specified in the path, and an empty request body."],["Upon successful execution, the API returns the soft-deleted Property object in the response body."],["To use this API, you need the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."]]],["This API soft-deletes a specified property identified by its name (e.g., \"properties/1000\") via a `DELETE` HTTP request. The request body must be empty. Upon success, it returns the soft-deleted Property. Soft-deleted properties can be restored through the Trash Can UI but will be permanently purged if not restored before their expiration time. The required authorization scope is `https://www.googleapis.com/auth/analytics.edit`. An error is returned if the property is not found.\n"]]