---
title: "Update asset by id"
method: PUT
path: "/assets/{id}"
tags: ["Asset Management"]
---

# Update asset by id

`PUT /assets/{id}`

Updates the asset with the given id.

## Request body

- Asset
  - `id` string, uuid, required
  - `user_id` string, uuid
  - `title` string, required
  - `creator` string
  - `subject` string
  - `description` string

## Response `200`

OK

- Asset
  - `id` string, uuid, required
  - `user_id` string, uuid
  - `title` string, required
  - `creator` string
  - `subject` string
  - `description` string

## Changes

- **2024-06-07** `3e9b4afe1aeb` — 5 breaking, 4 info
  - the request property `creator` became not nullable
  - the request property `description` became not nullable
  - the request property `subject` became not nullable
  - the request property `user_id` became not nullable
  - …5 more
- **2024-06-04** `578e8efc5755` — 6 breaking, 21 info
  - the response property `creator` became nullable for the status `200`
  - the response property `description` became nullable for the status `200`
  - the response property `subject` became nullable for the status `200`
  - the response property `user_id` became nullable for the status `200`
  - …23 more

[Change history](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/changes/assets/:id/put.md)

---

[API](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api.md) · [All operations](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/revisions/bca239c26cbb?raw)
