Method: partners.devices.unclaim
    
    
      
    
    
      
      透過集合功能整理內容
    
    
      
      你可以依據偏好儲存及分類內容。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        從客戶取消認領裝置,並從零接觸註冊機制中移除裝置。
      
      
        
          HTTP 要求
          POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaim
這個網址使用 gRPC 轉碼語法。
        
        
          路徑參數
          
            
              
                | 參數 | 
            
            
              
                | partnerId | string (int64 format)
 必要欄位。經銷商合作夥伴的 ID。 | 
            
          
        
        
          要求主體
          要求主體的資料會採用以下結構:
          
            
              
                
                  | JSON 表示法 | 
              
              
                
                  | {
  "sectionType": enum (DeviceProvisioningSectionType),
  // Union fielddevice_to_unclaimcan be only one of the following:
  "deviceId": string,
  "deviceIdentifier": {
    object (DeviceIdentifier)
  }
  // End of list of possible types for union fielddevice_to_unclaim.
} | 
              
            
          
          
            
              
                
                  | 欄位 | 
              
              
                
                  | sectionType | enum (DeviceProvisioningSectionType)
 必要欄位。裝置佈建記錄的部分類型。 | 
                
                  | 聯集欄位 device_to_unclaim。必要欄位。要撤銷擁有權的裝置。device_to_unclaim只能是下列其中一項: | 
                
                  | deviceId | string (int64 format)
 必要欄位。devices.claim傳回的裝置 ID。 | 
                
                  | deviceIdentifier | object (DeviceIdentifier)
 必要欄位。您領取該裝置時使用的裝置 ID。 | 
              
            
          
        
        
        
          授權範圍
          需要下列 OAuth 範圍:
          
            - https://www.googleapis.com/auth/androidworkprovisioning
詳情請參閱 OAuth 2.0 總覽。
        
      
    
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
  上次更新時間:2025-07-25 (世界標準時間)。
  
  
  
    
      [null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["This document details the process to unclaim a device from a customer, removing it from zero-touch enrollment.  It uses a `POST` HTTP request to the endpoint: `https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaim`, requires the `partnerId` path parameter and the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope. The request body requires a `sectionType`, along with either a `deviceId` or a `deviceIdentifier` to specify the device to unclaim. A successful request returns an empty response body.\n"]]