138 lines
2.5 KiB
Markdown
138 lines
2.5 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/updateGithubApp#VPContent)
|
||
|
||
Return to top
|
||
|
||
Update GitHub App[](https://coolify.io/docs/api-reference/api/operations/updateGithubApp#update-github-app)
|
||
|
||
=============================================================================================================
|
||
|
||
PATCH
|
||
|
||
/github-apps/{github\_app\_id}
|
||
|
||
Update an existing GitHub app.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/updateGithubApp#authorizations)
|
||
|
||
-------------------------------------------------------------------------------------------------------
|
||
|
||
bearerAuth
|
||
|
||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||
|
||
Type
|
||
|
||
HTTP (bearer)
|
||
|
||
Parameters[](https://coolify.io/docs/api-reference/api/operations/updateGithubApp#parameters)
|
||
|
||
-----------------------------------------------------------------------------------------------
|
||
|
||
### Path Parameters
|
||
|
||
github\_app\_id\*
|
||
|
||
GitHub App ID
|
||
|
||
Type
|
||
|
||
integer
|
||
|
||
Required
|
||
|
||
Request Body[](https://coolify.io/docs/api-reference/api/operations/updateGithubApp#request-body)
|
||
|
||
---------------------------------------------------------------------------------------------------
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"name": "string",
|
||
|
||
"organization": "string",
|
||
|
||
"api\_url": "string",
|
||
|
||
"html\_url": "string",
|
||
|
||
"custom\_user": "string",
|
||
|
||
"custom\_port": 0,
|
||
|
||
"app\_id": 0,
|
||
|
||
"installation\_id": 0,
|
||
|
||
"client\_id": "string",
|
||
|
||
"client\_secret": "string",
|
||
|
||
"webhook\_secret": "string",
|
||
|
||
"private\_key\_uuid": "string",
|
||
|
||
"is\_system\_wide": true
|
||
|
||
}
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/updateGithubApp#responses)
|
||
|
||
---------------------------------------------------------------------------------------------
|
||
|
||
200401404422
|
||
|
||
GitHub app updated successfully
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"message": "GitHub app updated successfully",
|
||
|
||
"data": {
|
||
|
||
}
|
||
|
||
}
|
||
|
||
PATCH
|
||
|
||
/github-apps/{github\_app\_id}
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/updateGithubApp#playground)
|
||
|
||
-----------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Variables
|
||
|
||
Key
|
||
|
||
Value
|
||
|
||
github\_app\_id\*
|
||
|
||
Body
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/updateGithubApp#samples)
|
||
|
||
-----------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|