Google アナリティクスの MCP サーバーを試します。
GitHub からインストールし、詳細については
お知らせをご覧ください。
        
 
       
     
  
  
  
    
  
  
  
    
      Method: accounts.delete
    
    
      
    
    
      
      コレクションでコンテンツを整理
    
    
      
      必要に応じて、コンテンツの保存と分類を行います。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        ターゲット アカウントをソフト削除(「ゴミ箱に移動」)としてマークし、返します。
この API には、ソフト削除されたアカウントを復元するメソッドはありません。ただし、ゴミ箱の UI を使用して復元できます。
アカウントが有効期限までに復元されなかった場合、アカウントとすべての子リソース(プロパティ、GoogleAdsLinks、ストリーム、AccessBindings など)は完全に削除されます。https://support.google.com/analytics/answer/6154772
ターゲットが見つからない場合はエラーを返します。
      
      
        
          HTTP リクエスト
          DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}
この URL は gRPC Transcoding 構文を使用します。
        
        
          パスパラメータ
          
            
              
              
            
            
              
                | パラメータ | 
              
            
            
              
                name | 
                
                   string 
                  必須。ソフト削除するアカウントの名前。形式: accounts/{account} 例: accounts/100 
                 | 
              
            
          
        
        
          リクエストの本文
          リクエストの本文は空にする必要があります。
        
        
          レスポンスの本文
          成功すると、レスポンスの本文は空の JSON オブジェクトになります。
        
        
          認可スコープ
          次の OAuth スコープが必要です。
          
            https://www.googleapis.com/auth/analytics.edit 
          
        
      
      
    
  
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
  最終更新日 2025-07-26 UTC。
  
  
  
    
      [null,null,["最終更新日 2025-07-26 UTC。"],[],["This API endpoint soft-deletes an account via a `DELETE` request to `https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}`, where `name` is the account identifier (e.g., \"accounts/100\"). The request body must be empty. A successful operation returns an empty JSON object, and the action requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. Soft-deleted accounts are recoverable via the Trash Can UI but will be permanently purged after an expiration period if not restored. The API does not contain a method to restore an account. An error will be returned if the account is not found.\n"]]