# Delete an inventory location

Products
            Plans
          
        
        
          
            
              
              Formerly ShipEngine
            
            
              Free
              Advanced
              Enterprise
            
          
          
            
              
            
            
              Free
              Starter
              Standard
              Premium
            
          
        
      
      
        
          Learn about products and plans

Endpoint: DELETE /v2/inventory_locations/{inventory_location_id}
Version: 2.0.0
Security: api_keys

## Path parameters:

  - `inventory_location_id` (string, required)

## Query parameters:

  - `remove_inventory` (string)
    If 1, remove all inventory from the location before deleting it.
If 0 or missing and the location has On Hand inventory, the request will fail.
    Enum: "0", "1"


## Response 204 fields
