Skip to content

Unlock an organization repository

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 when the migration is complete and you no longer need the source data.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

migration_id
required
integer

The unique identifier of the migration.

repo_name
required
string

Repo_name parameter

Response

Resource not found

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}