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
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.apps.removeRepoFromInstallationForAuthenticatedUser()