Skip to main content

Update an asset's mutable fields

PATCH 

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

warning

This endpoint is available in private cloud only. Use your global host URL if self-hosted.

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