---
title: "Delete an organization migration archive"
method: DELETE
path: "/orgs/{org}/migrations/{migration_id}/archive"
tags: ["migrations"]
---

# Delete an organization migration archive

`DELETE /orgs/{org}/migrations/{migration_id}/archive`

Deletes a previous migration archive. Migration archives are automatically deleted after seven days.

## Path parameters

- `org` string, required
- `migration_id` integer, required

## Response `204`

Response

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/ghec.md) · [All operations](https://skmtc.net/github/apis/ghec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/ghec/revisions/8ae6d0c8716e/schema)
