Search + K

Command Palette

Search for a command to run...

Sign In

Unlock a user repository

DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock
Copy endpoint
https://api.github.com

Unlocks a repository. You can lock repositories when you start a user migration. Once the migration is complete you can unlock each repository to begin using it again or delete the repository if you no longer need the source data. Returns a status of 404 Not Found if the repository is not locked.

Parameters

path Path Parameters

Name Type
migration_id required

The unique identifier of the migration.

number
repo_name required

repo_name parameter

string

Responses

204

Response

unknown

Redirects

304

Not modified

unknown

Client Errors

401 application/json

Requires authentication

interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
403 application/json

Forbidden

interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
404 application/json

Resource not found

interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}