PATCH /repos/{owner}/{repo}/import on GitHub REST API was removed on April 12, 2024
Provider API
- Date
- (UTC)
- Provider
- GitHub
- Last checked
What changes
An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API request. If no parameters are provided, the import will be restarted. Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array. You can select the project to import by providing one of the objects in the `project_choices` array in the update request. > [!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).
- Deprecated
- Stops working
Also in April 2024
Every AI model and API retirement in April 2024, on every provider and cloud
Questions
- When is PATCH /repos/{owner}/{repo}/import on GitHub REST API removed?
- PATCH /repos/{owner}/{repo}/import on GitHub REST API was removed on April 12, 2024.
- Can I still use PATCH /repos/{owner}/{repo}/import on GitHub REST API?
- No. It was removed on April 12, 2024.
Source
Does your code use it?
Paste a public repository. Since.dev analyzes it and shows the files and lines these dates hit.
Add to your calendariCal file RSS
More from GitHub
- no sooner than

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.