---
title: "Update GitHub App installation"
method: PUT
path: "/organizations/{organizationID}/githubapp/installations/{githubInstallationID}"
tags: ["GitHub App"]
---

# Update GitHub App installation

`PUT /organizations/{organizationID}/githubapp/installations/{githubInstallationID}`

Updates an existing GitHub App installation mapping.

## Path parameters

- `organizationID` string, required
- `githubInstallationID` string, required

## Request body

- UpdateGithubAppInstallationRequest
  - `installationId` integer, required — GitHub App installation ID

## Response `200`

Installation updated successfully

- GithubInstallation — A GitHub App installation associated with an organization
  - `id` string, required — Unique identifier of the installation record
  - `installationId` integer, required — GitHub App installation ID
  - `organization` string, required — Organization ID this installation belongs to
  - `createdAt` string, date-time, required — Timestamp when the installation was created
  - `updatedAt` string, date-time, required — Timestamp when the installation was last updated

## Other responses

- `400` — Generic error response for most error conditions
- `401` — Error response when authentication or authorization fails
- `404` — Generic error response for most error conditions
- `409` — Generic error response for most error conditions
- `5XX` — Unexpected Error
- `default` — Unexpected Error

---

[API](https://skmtc.dev/xata/apis/xata-api.md) · [All operations](https://skmtc.dev/xata/apis/xata-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xata/xata-api/revisions/0a5174a33ff1/schema)
