試用 Google Analytics 的 MCP 伺服器。從 
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,針對即時資料呼叫這個方法,看看會有什麼結果。
  
  
     
  
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
  上次更新時間:2025-07-26 (世界標準時間)。
  
  
  
    
      [null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],["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"]]