Make Version Live
POST/api/v1/assets/:asset_id/versions/:version_no/activate
Make a version the live content of the asset: release a version waiting for release, or restore a previous version.
- The current live file becomes a previous version (deleted if that takes the asset over the account's
max_previous_versions). - A released version keeps its number; a restored one gets a new number, so history stays in order.
- Renditions are regenerated from the new file and CDN links are refreshed in the background; the original is live immediately.
- Metadata sent with the replace is applied to the asset.
- Fires the
asset.replacedwebhook withtriggerreleaseorrestore.
Requires edit access to the asset and, while release approval is on, a role in the account's release_roles (default Admin and Manager). There is no public (share link) equivalent.
Response JSON
{"status": "OK", "data": {"asset_id": "a211ab5f351f4b398426efb59b0c72a3", "version": 5, "previous_version": 4}}
Request
Responses
- 200
- 403
- 404
- 409
The version is live
Forbidden - edit access to the asset required, and a release role while release approval is on
Asset or version not found
The version cannot be made live (still uploading, could not be processed, or rejected), or the asset is busy — retry shortly