---
title: "Delete a warehouse"
method: DELETE
path: "/api/v1/sa/inventory/warehouses/{id}"
tags: ["Warehouses"]
---

# Delete a warehouse

`DELETE /api/v1/sa/inventory/warehouses/{id}`

## Request

- Base URL: `https://app.sellerassistant.app` (the document declares no server; this is the origin it was published from)
- URL: `https://app.sellerassistant.app/api/v1/sa/inventory/warehouses/{id}`
- Auth: one of:
  - API key in query parameter `api_key`
  - API key in header `X-Api-Key`

The path names the row, and the answer carries no body. `DELETE /api/v1/sa/inventory/warehouses` removes several in one call and answers a result for each id.

## Path parameters

- `id` integer, required

## Response `204`

The warehouse is gone. The answer carries no body.

## Other responses

- `400`: Bad request - validation failed or invalid parameters
- `403`: Access denied - insufficient permissions, invalid API key, or the API request limit is used up (`public_api_key_limit`)
- `404`: Resource not found
- `422`: Business logic error - operation cannot be completed due to business rules
- `429`: Too many requests - rate limit exceeded

---

[API](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api.md) · [All operations](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api/revisions/5b3ecdbcadb6?raw)
