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.
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.
Tip
Users with Artifactory 7.117.1 and above have the option to roll back the promotion instead of deleting it. For more information, see Roll Back Release Bundle v2 Version Promotion.
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}
Path Parameters (required):
Field | Type | Description |
---|---|---|
| string | Release Bundle name. |
| string | Release Bundle version. |
| integer | Timestamp when the new version was created (in milliseconds). |
Query Parameters (optional):
Field | Type | Description |
---|---|---|
| boolean | Determines whether the operation should be asynchronous (true) or synchronous (false). The default value is |
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.