Skip to content

Documentation for Import DELETE route

Context

This endpoint would serve to stop and abandon an in-progress import or pre import,

Rough Outline

This is a rough outline of a potential design and should be considered a placeholder for scenarios to consider.

Route

DELETE gitlab/v1/repositories/migrate/<name>

Success

  • 200 — OK Already migrated
  • 202 — Accepted Successful cancellation

Errors

  • 401 Unauthorized The client should take action based on the contents of the WWW-Authenticate header and try the endpoint again.
  • 404 Not Found The repository was not found.
Edited by Hayley Swimelar