Skip to main content
POST
Start Migration

Start Migration

Queues the generic migration worker. Optionally approves resourceIds first.

State and retries

At least one resource must be selected, either in resourceIds or in the previously approved plan. Providing resourceIds approves that selection before starting. resourceOptions is used only with a nonempty resourceIds selection. If the run is already queued or running, this endpoint returns its current state without queueing another execution or changing its plan. Retry with the same run ID after an uncertain response. Runs in completed, failed, canceled or cancel_requested state cannot be started again and return 400.

Request

string
required
Migration run ID.
string[]
Optional resources to approve before start.
object
Optional per-resource filters when resourceIds is provided.

Responses