تضع هذه الدالة علامة على الحساب المستهدَف بأنّه تم حذفه مؤقتًا (أي "مُرسَل إلى المهملات") وتُعيده.
لا تتضمّن واجهة برمجة التطبيقات هذه طريقة لاستعادة الحسابات المحذوفة مؤقتًا. ومع ذلك، يمكن استعادتها باستخدام واجهة مستخدم "المهملات".
في حال عدم استعادة الحسابات قبل وقت انتهاء الصلاحية، ستتم إزالة الحساب وجميع الموارد الفرعية (مثل المواقع وGoogleAdsLinks وStreams وAccessBindings) نهائيًا. https://support.google.com/analytics/answer/6154772
تاريخ التعديل الأخير: 2025-01-14 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-01-14 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Marks an account as soft-deleted, effectively sending it to the trash but allowing for restoration before permanent deletion."],["Permanently deletes the account and all associated resources after a certain expiration time if not restored."],["Requires the `analytics.edit` OAuth scope for authorization."],["Uses a `DELETE` request to the specified endpoint with the account ID as a path parameter."],["The request body should be empty, and a successful operation will return an empty response body."]]],["This API endpoint soft-deletes an account by its name using a `DELETE` request to `https://analyticsadmin.googleapis.com/v1beta/{name=accounts/*}`. The `name` path parameter (e.g., \"accounts/100\") is required. The request body must be empty. Upon successful deletion, it returns an empty JSON object. The operation is irreversible via the API, requiring UI restoration before a certain time to prevent permanent data loss. It needs `https://www.googleapis.com/auth/analytics.edit` authorization. An error is returned if the target account is not found.\n"]]