---
title: "Deactivate Warehouse"
method: POST
path: "/management/v1/warehouse/{warehouse_id}/deactivate"
tags: ["warehouse"]
---

# Deactivate Warehouse

`POST /management/v1/warehouse/{warehouse_id}/deactivate`

## Request

- Base URL: `https://localhost`
- URL: `https://localhost/management/v1/warehouse/{warehouse_id}/deactivate`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/docs/management/v1/warehouse/:warehouse_id/deactivate/post.ts> (a function with typed inputs; its response is checked against the schema)

Temporarily disables access to a warehouse without deleting its data.

## Path parameters

- `warehouse_id` string, uuid, required

## Response `200`

Warehouse deactivated successfully

## Other responses

- `4XX`

---

[API](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api.md) - [All operations](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/revisions/c5cb9a12a98c?raw)
