Perform a Release Bundle v2 Creation Dry Run

The Create Release Bundle v2 Version REST API enables you to perform a dry run, which validates the creation process on the server and returns the results of the operation, but without persistence (meaning the Release Bundle is not actually created and saved).

To perform a dry run, add the dry_run query parameter to the API call, as follows:

POST {{artifactory-host}}/lifecycle/api/v2/release_bundle?project=default&async=false&dry_run=true

A successful dry run returns an HTTP status code of 200 instead of 201. For more information about the API, see Create Release Bundle v2 Version.