---
title: "Rename a shelf item."
method: PATCH
path: "/v1/shelves/{project}/items/{id}"
---

# Rename a shelf item.

`PATCH /v1/shelves/{project}/items/{id}`

## Request

- Base URL: `https://api.lumeta.ai`
- URL: `https://api.lumeta.ai/v1/shelves/{project}/items/{id}`
- Auth: HTTP bearer

## Path parameters

- `project` string, required
- `id` string, required

## Request body

- object
  - `name` string, required

## Response `200`

OK

- ShelfItem
  - `id` string
  - `name` string
  - `project` string
  - `created_at` string
  - `type` 'image' | 'video' | 'audio' | 'other'
  - `url` string: Durable https URL of the stored file.
  - `width` integer
  - `height` integer
  - `duration` number: Seconds, for audio and video.

## Other responses

- `default`: Error

---

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