> ## Documentation Index
> Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Warehouse

> Remove a warehouse at the given index

<Note>
  **V2 Preview** — This endpoint is part of the V2 API preview. Breaking changes may occur.
</Note>

## Overview

Remove a warehouse / location at the given zero-based index. Returns the remaining warehouses after deletion. Vendor scope required.

## Path Parameters

<ParamField path="index" type="integer" required>
  Zero-based index of the warehouse to delete.
</ParamField>

## Response

```json 200 theme={null}
{
  "success": true,
  "data": [
    { "locationId": 1, "name": "East Coast Fulfillment" }
  ]
}
```

## Example

```bash theme={null}
curl -X DELETE "https://staging-api.puppetvendors.com/settings/shipping/warehouses/0" \
  -H "x-access-token: YOUR_VENDOR_JWT"
```
