---
title: "Delete Migration"
method: DELETE
path: "/v1/namespaces/migrations/{migration_id}"
tags: ["Namespace Migrations"]
---

# Delete Migration

`DELETE /v1/namespaces/migrations/{migration_id}`

Delete a migration record.

Only draft, completed, failed, or cancelled migrations can be deleted.

Args:
    request: FastAPI request
    migration_id: Migration ID

## Path parameters

- `migration_id` string, required

## Response `204`

Successful Response

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/mixpeek/apis/mixpeek-api.md) · [All operations](https://skmtc.net/mixpeek/apis/mixpeek-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixpeek/mixpeek-api/versions/04b379bdbb7c/schema)
