Method: organizations.settings.deleteValue
    
    
      
    
    
      
      透過集合功能整理內容
    
    
      
      你可以依據偏好儲存及分類內容。
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
    
    
    
      
      
      
        刪除設定值。如果設定值不存在,這項作業就不會執行任何動作。
如果設定或設定值不存在,則傳回 google.rpc.Status (含 google.rpc.Code.NOT_FOUND)。如果先前對設定值的 DeleteSetting 呼叫已傳回成功代碼,則設定值不存在。如果設定標示為唯讀,則傳回含有 google.rpc.Code.FAILED_PRECONDITION 的 google.rpc.Status。
      
      
        
          HTTP 要求
          DELETE https://resourcesettings.googleapis.com/v1alpha1/{name=organizations/*/settings/*/value}
這個網址使用 gRPC 轉碼語法。
        
        
          路徑參數
          
            
              
                | 參數 | 
              
            
            
              
                name | 
                
                   string 
                  要刪除的設定值名稱。請參閱SettingValue瞭解命名規定。 
                  授權需要指定資源 name 的下列 IAM 權限: 
                  
                    resourcesettings.settingvalues.delete 
                   
                 | 
              
            
          
        
        
          查詢參數
          
            
              
                | 參數 | 
              
            
            
              
                ignoreReadOnly | 
                
                   boolean 
                  這個旗標可刪除 readOnly 設定的值。警告:請自行承擔使用風險。刪除唯讀設定的值是無法復原的操作 (即無法再次建立)。 
                 | 
              
            
          
        
        
        
        
          授權範圍
          需要下列 OAuth 範圍:
          
            https://www.googleapis.com/auth/cloud-platform 
          
詳情請參閱驗證總覽一文。
        
      
    
  
  
  
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
  上次更新時間:2025-07-26 (世界標準時間)。
  
  
  
    
      [[["容易理解","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-07-26 (世界標準時間)。"],[],["This document details the process of deleting a setting value via a `DELETE` HTTP request to the specified URL. The `name` parameter in the URL path identifies the target setting value.  The operation returns a `NOT_FOUND` status if the setting or value is missing, or `FAILED_PRECONDITION` if the setting is read-only. The `ignoreReadOnly` query parameter enables the deletion of read-only settings. The request body must be empty, and a successful operation yields an empty response. Deletion requires the `resourcesettings.settingvalues.delete` IAM permission and the `cloud-platform` OAuth scope.\n"]]