# Update Migration Internal endpoint to update the status of a migration Endpoint: PATCH /v1/clinics/{clinicId}/migrations/{userId} Version: 1.0 Security: sessionToken ## Path parameters: - `clinicId` (string, required) Clinic ID Example: "2fe2488217ee43e1b2e83c2f" - `userId` (string, required) String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4) ## Request fields (application/json): - `status` (string, required) The current status of the migration Enum: "PENDING", "RUNNING", "COMPLETED" ## Response 200 fields (application/json): - `userId` (string, required) The user id of the legacy clinician account that needs to be migrated. - `status` (string) The current status of the migration Enum: "PENDING", "RUNNING", "COMPLETED" - `createdTime` (string, required) - `updatedTime` (string, required) - `attestationTime` (string)