Add a single repository to an installation. The authenticated user must have admin access to the repository.You must use a personal access token (which you can create via the command line or Basic Authentication) to access this endpoint.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api.github.com/user/installations/1/repositories/'