---
title: "Patch Library Item"
method: PATCH
path: "/api/library/{entity_id}"
---

# Patch Library Item

`PATCH /api/library/{entity_id}`

## Request

- Base URL: `https://api.yourbeckett.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yourbeckett.com/api/library/{entity_id}`
- Auth: none declared

Update rating/loved/status with optimistic locking.

## Path parameters

- `entity_id` string, uuid, required

## Request body

- PatchLibraryItemRequest
  - `rating` number, nullable
  - `loved` boolean, nullable
  - `media_status` string, nullable
  - `archived` boolean, nullable
  - `name` string, nullable
  - `ingredients` string[], nullable
  - `instructions` string[], nullable
  - `prep_time` integer, nullable
  - `cook_time` integer, nullable
  - `total_time` integer, nullable
  - `servings` integer, nullable
  - `cuisine` string, nullable
  - `source_url` string, nullable
  - `tags` string[], nullable
  - `primary_category` string, nullable
  - `has_leftovers` boolean, nullable
  - `remove_cover` boolean, nullable
  - `version` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yourbeckett/apis/beckett-platform.md) · [All operations](https://skmtc.dev/yourbeckett/apis/beckett-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/yourbeckett/apis/beckett-platform/revisions/a1cb8f2c8961?raw)
