Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.knoxcall.com/llms.txt

Use this file to discover all available pages before exploring further.

POST /admin/migrations/:id/cancel

Cancel an in-flight migration. Only valid for migrations in pending, discovering, or awaiting_review status. Auth: requireOwnerOrAdmin
Cancellation records a migration.cancel critical audit entry and flags the discovery lease for shutdown. In-flight intercept rules and DB proxy routes are removed. Applications routing through KnoxCall revert to direct cloud store access immediately.

Response

{ "id": "...", "status": "cancelled" }
Returns 404 if the migration is not found or is already in a terminal state (completed, cancelled).
curl -X POST https://api.knoxcall.com/admin/migrations/550e8400.../cancel \
  -H "Authorization: Bearer $KC_ADMIN_JWT"