Finalize Draft Release Bundle v2 Version

JFrog REST APIs

Content Type
REST API

Description: Locks the draft Release Bundle v2 version, which removes the draft status and renders it immutable from further changes.

Note

If you promote a draft Release Bundle version, the draft is finalized automatically before it is promoted to the designated stage.

Since: 7.136.0

Security: Requires Read permissions for the Release Bundles; requires Deploy/Cache permissions to target artifact repository paths.

Usage: POST /lifecycle/api/v2/release_bundle/{name}/{version}/finalize

Response Body:

Parameter

Type

Description

repository_key

string

The repository key (by default, <project>-release-bundles-v2).

release_bundle_name

string

The Release Bundle name.

release_bundle_version

string

The Release Bundle version.

updated

date

The timestamp when the Release Bundle was finalized (ISO 8601 format).

Sample Response:

{
    "repository_key": "release-bundles-v2",
    "release_bundle_name": "BundleTest-178",
    "release_bundle_version": "1.0.0",
    "updated": "2026-01-18T08:35:48.683Z",
}

Status Codes:

Code

Meaning

Description

200

Ok

The Release Bundle version was finalized and locked successfully.

401

Bad Credentials

Authentication failed. A valid token is required.

403

Permission Denied

The Release Bundle version is not a draft or the user does not have write permissions for the target repository.

404

Not Found

The Release Bundle could not be found.