API ReferenceMigrationsUpdate Migration

Update Migration

PATCH /api/v1/payroll-migrations/{id}/

Update the details of an existing payroll migration. Only the fields you include in the request body will be updated.

Authentication

Requires an API key with migrations:write scope. Pass via the X-API-Key header.

Path Parameters

ParameterTypeDescription
idstring (UUID)The unique identifier of the migration.

Request

Content type: application/json

Body Parameters

FieldTypeRequiredDescription
namestringNoUpdated name for the migration.
source_providerstringNoUpdated source provider identifier.
target_providerstringNoUpdated target provider identifier.

Response

Status: 200 OK

{
  "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
  "name": "Q1 2026 ADP to Gusto Migration (Updated)",
  "source_provider": "adp",
  "target_provider": "gusto",
  "status": "pending",
  "organization": "org_abc123",
  "created_at": "2026-03-16T12:00:00Z",
  "updated_at": "2026-03-16T14:30:00Z"
}

Errors

StatusDescription
400Invalid request body fields.
401Missing or invalid API key.
403API key does not have migrations:write scope.
404Migration not found.

Code Examples

curl -X PATCH https://api.parsifyhq.com/api/v1/payroll-migrations/b2c3d4e5-f6a7-8901-bcde-f12345678901/ \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Q1 2026 ADP to Gusto Migration (Updated)"}'