Description: Aborts the distribution of a Release Bundle v2 version. The Abort operation affects only those targets that have not yet received the complete Release Bundle.
Note
If the auto_create_missing_repositories
option was set to true
during distribution, any repositories created before the Abort operation was implemented are not removed.
Since: 7.63.2 (Artifactory), 2.19.1 (Distribution)
Security: Requires permissions to distribute Release Bundles
Usage:PUT /lifecycle/api/v2/distribution/abort/{release_bundle_name}/{release_bundle_version}
Sample Response:
[ { "name": "infra-dist-yevdoa-11144318-edge-0", "service_id": "jfrt@01h2zddn8dkpqp1hce94pr0z02", "type": "artifactory" }, { "name": "infra-dist-yevdoa-11144318-edge-1", "service_id": "jfrt@01h2zdjvf5wpar14tr39za1k6f", "type": "artifactory" }, { "name": "infra-dist-yevdoa-11144318-edge-2", "service_id": "jfrt@01h2zdgc0cpe3f0dfhqyj90n55", "type": "artifactory" }, { "name": "HOME", "service_id": "jfrt@01h2zdbf9v2snv0tmbbbxt17c6", "type": "artifactory" } ]
The response includes the following information:
Property | Description |
---|---|
| The name of the distribution target. |
| The serviceId of the distribution target. |
| The distribution target type (e.g. Artifactory, Edge). |
Status Codes:
Code | Description |
---|---|
202 | Request accepted for processing |
204 | Nothing was aborted |
403 | Permission Denied |