# DELETE /repos/{owner}/{repo}/import

**Resource:** [migrations](../resources/migrations.md)
**Cancel an import**
**Operation ID:** `migrations/cancel-import`
⚠️ **Deprecated**

Stop an import for a repository.

> [!WARNING]
> **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).

## Responses

| Status | Description |
|--------|-------------|
| 204 | Response |
| 503 | (reference) |

