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
Path Params
Responses
🟢204Response
application/json
Body
🔵304304
🟠403403
🟠404404
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api.github.com/user/installations/1/repositories/'