---
title: "Update Migration Status"
method: PATCH
path: "/internal/migrations/{migration_id}/status"
tags: ["internal"]
---

# Update Migration Status

`PATCH /internal/migrations/{migration_id}/status`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/internal/migrations/{migration_id}/status`
- Auth: none declared. Required headers: `x-service-token`

Update namespace migration status/progress (internal).

## Path parameters

- `migration_id` string, uuid, required

## Headers

- `x-service-token` string, required

## Request body

- MigrationStatusUpdate: Internal (worker → backend) status update.
  - `status` 'pending' | 'installing_velero_source' | 'backing_up' | 'installing_velero_target' | 'restoring' | 'importing_workloads' | 'cleaning_up' | 'completed' | 'failed' | 'cancelled', required
  - `progress_message` string, nullable
  - `error_message` string, nullable
  - `backup_name` string, nullable
  - `restore_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
