---
title: "Update GitLab App"
method: PATCH
path: "/gitlab-apps/{gitlab_app_id}"
tags: ["GitLab Apps"]
---

# Update GitLab App

`PATCH /gitlab-apps/{gitlab_app_id}`

Update an existing GitLab app.

## Path parameters

- `gitlab_app_id` integer, required

## Request body

- object
  - `name` string — GitLab App name
  - `html_url` string — GitLab HTML URL
  - `api_url` string — GitLab API URL
  - `custom_user` string — Custom user for SSH
  - `custom_port` integer — Custom port for SSH
  - `group_name` string, nullable — Optional group filter
  - `client_id` string, nullable — OAuth Application ID
  - `client_secret` string, nullable — OAuth Application Secret
  - `webhook_token` string, nullable — Webhook secret token
  - `redirect_uri` string, nullable — OAuth redirect URI
  - `is_system_wide` boolean — Is system wide (non-cloud instances only)

## Response `200`

GitLab app updated successfully

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

## Other responses

- `401` — Unauthorized
- `404` — GitLab 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/revisions/789e6ad3796c/schema)
