v1

latestOpenAPI 3.0.22026-07-2610288167.4 KB
asset

Update asset metadata

Updates an asset's metadata. At least one field must be provided. Only name, tags, and user_metadata can be updated.

put/api/assets/{id}

Path parameters

idstring uuid required

Asset ID

Request body

namestring

New display name for the asset

tagsstring[]

Updated tags for the asset

mime_typestring

Updated MIME type of the asset

preview_idstring uuid

Updated preview asset ID

user_metadataobject

Updated custom metadata

Response

Asset updated successfully

idstring uuid required

Asset ID

namestring

Updated name of the asset

asset_hashstring

Blake3 hash of the asset content

tagsstring[]

Updated tags for the asset

mime_typestring

Updated MIME type of the asset

user_metadataobject

Updated custom metadata

updated_atstring date-time required

Timestamp of the update