Delete Multiple Repositories

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 (reports required).
  • 207 — Mixed results (some succeeded, some failed). Body is RepoBulkRemovalReport (reports required).
  • 400 — Empty/missing repo key list, or fail-fast early validation. Body is RepoBulkRemovalFailFastReport (statusMessage only; reports omitted).
  • 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 uses RepoBulkRemovalFailFastReport (statusMessage only).

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

JSON array of repository keys to delete (order preserved).

Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json