provider migrations DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock
@utdk/github /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock
Unlock an organization repository
Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data.
org path required
The organization name. The name is not case sensitive.
string
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.

migrations.unlockRepoForOrg
DELETE/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock
Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data.

Parameters

required

The organization name. The name is not case sensitive.

required

The unique identifier of the migration.

required

repo_name parameter

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.migrations.unlockRepoForOrg()