provider migrations DELETE
/user/migrations/{migration_id}/repos/{repo_name}/lock @utdk/github
/user/migrations/{migration_id}/repos/{repo_name}/lock Unlock a user repository
Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.
- migration_id path required
- The unique identifier of the migration.
- integer
- repo_name path required
- repo_name parameter
- string
Try it
Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import github from '@utdk/github';
await github.migrations.unlockRepoForAuthenticatedUser()