כדאי לנסות את שרת ה-MCP ל-Google Analytics. אפשר להתקין מ-
GitHub, ולקרוא את
ההודעה לפרטים נוספים.
UserDeletion.userDeletionRequest: upsert
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
נדרשת הרשאה
מוסיפים או מעדכנים בקשה למחיקת משתמש.
בקשה
בקשת HTTP
POST https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert
אישור
הבקשה הזו מחייבת הרשאה עם ההיקף הבא (מידע נוסף על אימות והרשאה).
היקף |
https://www.googleapis.com/auth/analytics.user.deletion |
גוף הבקשה
בגוף הבקשה, מציינים משאב UserDeletion.userDeletionRequest.
נסה בעצמך!
אפשר להשתמש ב-APIs Explorer שבהמשך כדי להפעיל את השיטה הזו בנתונים בזמן אמת ולראות את התגובה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eInserts or updates a user deletion request using the \u003ccode\u003ePOST\u003c/code\u003e method and the provided endpoint.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.user.deletion\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a \u003ccode\u003eUserDeletion.userDeletionRequest\u003c/code\u003e resource as detailed in the provided documentation.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns a \u003ccode\u003eUserDeletion.userDeletionRequest\u003c/code\u003e resource in the response body.\u003c/p\u003e\n"]]],["This outlines how to insert or update a user deletion request using the Google Analytics API. It mandates authorization with the `https://www.googleapis.com/auth/analytics.user.deletion` scope. The process involves a `POST` request to `https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert`. The request body requires a `UserDeletion.userDeletionRequest` resource, and a successful response returns the same `UserDeletion.userDeletionRequest` resource. The provided API explorer allows testing this process.\n"],null,["**Requires [authorization](#auth)**\n\nInsert or update a user deletion request.\n\nRequest\n\nHTTP request \n\n```\nPOST https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert\n```\n\nAuthorization\n\nThis request requires authorization with the following scope ([read more about authentication and authorization](/analytics/devguides/config/userdeletion/v3/authorization)).\n\n| Scope |\n|-----------------------------------------------------------|\n| `https://www.googleapis.com/auth/analytics.user.deletion` |\n\nRequest body\n\nIn the request body, supply a [UserDeletion.userDeletionRequest resource](/analytics/devguides/config/userdeletion/v3/reference/userDeletion/userDeletionRequest#resource).\n\nResponse\n\nIf successful, this method returns a [UserDeletion.userDeletionRequest resource](/analytics/devguides/config/userdeletion/v3/reference/userDeletion/userDeletionRequest#resource) in the response body.\n\nTry it!\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]