---
title: "Update GitHub App"
method: PATCH
path: "/github-apps/{github_app_id}"
tags: ["GitHub Apps"]
---

# Update GitHub App

`PATCH /github-apps/{github_app_id}`

Update an existing GitHub app.

## Path parameters

- `github_app_id` integer, required

## Request body

- object
  - `name` string — GitHub App name
  - `organization` string, nullable — GitHub organization
  - `api_url` string — GitHub API URL
  - `html_url` string — GitHub HTML URL
  - `custom_user` string — Custom user for SSH
  - `custom_port` integer — Custom port for SSH
  - `app_id` integer — GitHub App ID
  - `installation_id` integer — GitHub Installation ID
  - `client_id` string — GitHub Client ID
  - `client_secret` string — GitHub Client Secret
  - `webhook_secret` string — GitHub Webhook Secret
  - `private_key_uuid` string — Private key UUID
  - `is_system_wide` boolean — Is system wide (non-cloud instances only)

## Response `200`

GitHub app updated successfully

- object
  - `message` string
  - `data` object — Updated GitHub app data

## Other responses

- `401` — Unauthorized
- `404` — GitHub app not found
- `422` — Validation error.

---

[API](https://skmtc.net/coollabsio/apis/coolify.md) · [All operations](https://skmtc.net/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/coolify/versions/08be5dc8e729/schema)
