Skip to main content

Update an asset's mutable fields

PATCH 

/program/api/v2/projects/:projectID/assets/:assetID

Updates type, properties, publicUrl (BYO only), contentType, or sizeBytes. Identity columns (id, projectId, storageMode, storageKey) are immutable post-create. Bytes themselves cannot be updated — delete and re-create the asset for that.

Generate JWT

Request​

Responses​

Asset updated

Validation failure

Forbidden — no project access

Asset not found

Internal Server Error