Migrations

Update a migration

Changed on

The API version of the app's "Edit company" and "Add New Sheet". Send only the fields to change; any other field is a 400. templates ADDS templates: each slug without a sheet gets a new, empty one, and slugs that already have one are skipped — templates are never removed. Changing source or adding templates is refused with 409 (code: imports_in_flight) while an import is in progress, including a preview waiting for approval; name and external_id can always change.

patch/migrations/{migration_id}

Request

Request body

namestring

New display name. Must be non-blank.

sourcestring nullable

Source name to bind, or null for a sourceless migration.

external_idstring nullable

A new external ID, unique among your migrations, or null to clear it.

templatesstring[]

Template slugs to add.

Response

The updated migration.

Changes