Link a GitHub App installation
POST/v1/organizations/:org/integrations/:id/github/installation
After installing the GitHub App, GitHub sends the user back with the installation's ID and a one-time code
from their authorization. The platform exchanges the code to confirm the user can see the installation (an
installation ID alone proves nothing), records it, and lists its repositories. The user must own the account
the App is installed on, or be the GitHub user who installed or last changed the installation. Needs owner or admin.
Fails with installation_already_connected when another organization has the installation.
Request
Responses
- 200
- 400
- 403
- 404
- 409
- 422
The integration, now verifying
The request is invalid
Your role does not allow this action
Not found, or not visible to you
Conflicts with existing state
Not possible in the current state