assets
Revert an asset to a retained version
Makes a retained version current and irreversibly deletes its descendants. Reverting to the current version is a no-op; a stale expected-current token returns 409.
post/api/assets/{asset_id}/versions/{version_id}/revert
Path parameters
asset_idstring required
Asset ID (with asset_ prefix) to revert.
Asset ID (with asset_ prefix) to revert.
version_idstring required
Version ID (with asset_version_ prefix) to make current. Every version at a later position is deleted.
Version ID (with asset_version_ prefix) to make current. Every version at a later position is deleted.
Query parameters
expected_current_version_idstring required
Current version ID observed by the client. If stale, returns 409 without changes; refetch the asset before retrying.
Current version ID observed by the client. If stale, returns 409 without changes; refetch the asset before retrying.
Response
Successful Response