provider apps DELETE /user/installations/{installation_id}/repositories/{repository_id}
@utdk/github /user/installations/{installation_id}/repositories/{repository_id}
Remove a repository from an app installation
Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. This endpoint only works for PATs (classic) with the `repo` scope.
installation_id path required
The unique identifier of the installation.
integer
repository_id path required
The unique identifier of the repository.
integer

Try it

Authentication
Configure credentials for GitHub v3 REST API
apps.removeRepoFromInstallationForAuthenticatedUser
DELETE/user/installations/{installation_id}/repositories/{repository_id}
Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. This endpoint only works for PATs (classic) with the `repo` scope.

Parameters

required

The unique identifier of the installation.

required

The unique identifier of the repository.

Configure credentials above to enable sending.

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

TypeScript

import github from '@utdk/github';

await github.apps.removeRepoFromInstallationForAuthenticatedUser()