---
title: "Update asset metadata"
method: PATCH
path: "/v1/assets/{id}"
tags: ["Assets"]
---

# Update asset metadata

`PATCH /v1/assets/{id}`

## Request

- Base URL: `https://api.picsha.ai`
- URL: `https://api.picsha.ai/v1/assets/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `meta` object
    - `title` string
  - `metadata` object
  - `tags` string[]
  - `requiresSignature` boolean
  - `expires_at` string, date-time, nullable: ISO-8601 timestamp to update the automatic deletion time. Pass null to make permanent.

## Response `200`

Default Response

- object
  - `id` string, required
  - `message` string, required

## Other responses

- `404`: Default Response

---

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