Method: properties.delete
টার্গেট প্রপার্টিকে সফট-ডিলিট (যেমন: "ট্র্যাশড") হিসেবে চিহ্নিত করে এবং ফেরত দেয়।
এই API-এর নরম-মুছে দেওয়া বৈশিষ্ট্যগুলি পুনরুদ্ধার করার কোনও পদ্ধতি নেই। যাইহোক, ট্র্যাশ ক্যান UI ব্যবহার করে সেগুলি পুনরুদ্ধার করা যেতে পারে।
মেয়াদ শেষ হওয়ার আগে বৈশিষ্ট্যগুলি পুনরুদ্ধার করা না হলে, সম্পত্তি এবং সমস্ত চাইল্ড রিসোর্স (যেমন: GoogleAdsLinks, স্ট্রীম, AccessBindings) স্থায়ীভাবে মুছে ফেলা হবে। https://support.google.com/analytics/answer/6154772
লক্ষ্য না পাওয়া গেলে একটি ত্রুটি প্রদান করে।
HTTP অনুরোধ
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
name | string প্রয়োজন। সফট-ডিলিট করার জন্য সম্পত্তির নাম। বিন্যাস: বৈশিষ্ট্য/{property_id} উদাহরণ: "properties/1000" |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Property
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/analytics.edit
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-14 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-14 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["This API allows you to mark a Google Analytics 4 property as soft-deleted, essentially moving it to the trash."],["Soft-deleted properties can be restored through the Trash Can UI before they are permanently purged."],["The API requires a `DELETE` request with the property ID specified in the path parameter."],["An empty request body is necessary, and a successful deletion returns the `Property` object."],["To use this API, you need the `https://www.googleapis.com/auth/analytics.edit` authorization scope."]]],["This API marks a Property as soft-deleted via a DELETE HTTP request to `https://analyticsadmin.googleapis.com/v1beta/{name=properties/*}`. The `name` path parameter, in the format \"properties/{property_id}\", specifies the target Property. The request body must be empty. A successful operation returns the deleted Property. Soft-deleted properties can be restored via the Trash Can UI, and permanently purged after expiration. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope. An error is returned if the property is not found.\n"]]