---
title: "Update Cellar"
method: PATCH
path: "/cellars/{cellar_id}"
tags: ["cellars"]
---

# Update Cellar

`PATCH /cellars/{cellar_id}`

## Request

- Base URL: `https://api.emile.wine` (the document declares no server; this is the origin it was published from)
- URL: `https://api.emile.wine/cellars/{cellar_id}`
- Auth: HTTP bearer

Update a cellar's metadata (only fields in the allowlist).

## Path parameters

- `cellar_id` string, required

## Headers

- `X-API-Key` string, nullable

## Request body

- CellarUpdate
  - `name` string, nullable
  - `location_description` string, nullable
  - `capacity_hint` integer, nullable
  - `storage_type` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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