PATCH
/gitlab-apps/{gitlab_app_id}Update a GitLab app
Updates the configuration of an existing GitLab app. Supply the app's ID and any configuration fields you want to change; the request body does not specify fields as required. The response includes the updated GitLab app data.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
gitlab_app_idintegerrequired
The numeric ID of the GitLab app to update.
GitLab app configuration fields to update.
api_urlstringoptional
GitLab API URL
client_idstringoptional
OAuth Application ID
client_secretstringoptional
OAuth Application Secret
custom_portintegeroptional
Custom port for SSH
custom_userstringoptional
Custom user for SSH
group_namestringoptional
Optional group filter
html_urlstringoptional
GitLab HTML URL
is_system_widebooleanoptional
Is system wide (non-cloud instances only)
namestringoptional
GitLab App name
redirect_uristringoptional
OAuth redirect URI
webhook_tokenstringoptional
Webhook secret token
200Returns the updated GitLab app data and a message.
dataobjectoptional
Updated GitLab app data
messagestringoptional
401Returned when the request is unauthorized.
404Returned when the GitLab app is not found.
422Returned when the request fails validation.
errorsobjectoptional
messagestringoptional
Error handling
A 401 is returned when the request is unauthorized; a 404 is returned when the GitLab app is not found; and a 422 is returned when the request fails validation. The gitlab_app_id path parameter must identify an existing GitLab app.