delete
https://{jfrog_url}/artifactory/api/v2/repositories/batch
Deletes multiple repositories in a single batch request. Best-effort per repository — one repository failing does not abort the rest. Each repository gets an independent per-repo report in reports.
Security: Requires an admin user.
Consumes / Produces: application/json
Status codes:
- 200 — All repositories deleted successfully (includes every repository config missing — per-repo success-report entries). Body is
RepoBulkRemovalReport(reportsrequired). - 207 — Mixed results (some succeeded, some failed). Body is
RepoBulkRemovalReport(reportsrequired). - 400 — Empty/missing repo key list, or fail-fast early validation. Body is
RepoBulkRemovalFailFastReport(statusMessageonly;reportsomitted). - 401 — Authentication failure. Body is
ErrorResponse(not a bulk report). - 403 / 409 / 424 / 500 — All repositories failed — HTTP status taken from the failure (for example 403 when all are blocked by validation). Body is
RepoBulkRemovalReport, except fail-fast 403 early validation which usesRepoBulkRemovalFailFastReport(statusMessageonly).
Always inspect each entry in reports[] when HTTP status is 200, 207, or an all-failed status with per-repo work (403 / 409 / 424 / 500). On fail-fast early validation (400 / some 403), reports is omitted and only statusMessage is present.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
