Delete Release Bundle v2 Version Promotion

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Deletes the selected Release Bundle v2 version promotion with all its artifacts. Each promoted artifact may be deleted only if there is no other promotion that refers to it by the same repository path and binary checksum. Any evidence attached to the promotion is also deleted.Evidence Management

Warning

Deleted Release Bundle v2 promotions are not sent to the trash can even when the trash can is enabled. This means that once deleted, the promotion cannot be recovered.Trash Can Settings

Since: 7.63.2

Security: Requires Read and Delete permissions to the target Release Bundle path; requires Delete permissions to the promoted repository paths.

Usage:DELETE  /lifecycle/api/v2/promotion/records/{name}/{version}/{created_mills}

Query Parameters (optional):

Field

Type

Description

async

boolean

Determines whether the operation should be asynchronous (true) or synchronous (false). The default value is true.

Note

See Common Optional Query Parameters for additional query parameters that are available for all Release Lifecycle Management APIs.

Response body: {empty}

Status Codes:

Code

Description

200

Submitted (Async)

204

Deleted (Sync)

401

Bad Credentials

403

Permission Denied

Tip

In addition to deleting Release Bundle versions manually as described above, administrators can define a Cleanup policy that removes Release Bundle versions automatically according to defined criteria. For more information, see Create Cleanup Policy - Release Bundle V2.Create Cleanup Policy - Release Bundle V2