---
title: "Update Asset Name"
method: POST
path: "/api/projects/{project_id}/assets/{asset_id}/name"
---

# Update Asset Name

`POST /api/projects/{project_id}/assets/{asset_id}/name`

Update an asset's name or other metadata.
This is for quick updates without regenerating the asset image.

Args:
    project_id: Project ID containing the asset
    asset_id: Asset ID to update
    request: Update request data (name, etc.)
    current_user: Authenticated user
    db: Database session
    
Returns:
    Updated asset data

## Path parameters

- `project_id` string, required
- `asset_id` string, required

## Request body

- UpdateAssetRequest — Request schema for updating an asset
  - `name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
