Update a GitHub repository (JSON Merge Patch).
Changes the repository's settings: the owner and name, display name, the GitHub App installation (it must be one of the company's active installations), file and path filters, number prefix, active flag and schedule.
| |
|---|
| Scope | connectors:write (sensitive) |
| Asynchronous | No |
| MCP tool | update_github_repository |
| Portal permissions | edit_github_repository_mappings |
Parameters
| Name | In | Type | Required | Description |
|---|
github_repository_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-Match | header | string | Optional | |
Request body
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
GitHubRepository
| Field | Type | Required | Description |
|---|
auth_type | string | Required | |
created_at | string (date-time) or null | Required | |
display_name | string or null | Required | |
edit_group_ids | array of string | Required | Groups that may edit the imported documents. |
edit_user_ids | array of string | Required | Users that may edit the imported documents. |
file_extensions | array of string | Required | |
github_account_login | string or null | Required | |
github_installation_id | string or null | Required | |
github_repository_id | string | Required | |
has_credentials | boolean | Required | Whether the repository has its GitHub App installation. |
is_active | boolean or null | Required | |
last_synced_at | string (date-time) or null | Required | |
number_prefix | string or null | Required | |
path_prefixes | array of string | Required | |
read_group_ids | array of string | Required | Groups that may read the imported documents. |
read_user_ids | array of string | Required | Users that may read the imported documents. |
repo_name | string | Required | |
repo_owner | string | Required | |
schedule_day | integer or null | Required | |
schedule_hour | integer or null | Required | |
schedule_type | string or null | Required | |
| Field | Type | Required | Description |
|---|
auth_type | string or null | Optional | |
created_at | string (date-time) or null | Optional | |
display_name | string or null | Optional | |
edit_group_ids | array of string or null | Optional | |
edit_user_ids | array of string or null | Optional | |
file_extensions | array of string or null | Optional | |
github_account_login | string or null | Optional | |
github_installation_id | string or null | Optional | |
github_repository_id | string or null | Optional | |
has_credentials | boolean or null | Optional | |
is_active | boolean or null | Optional | |
last_synced_at | string (date-time) or null | Optional | |
number_prefix | string or null | Optional | |
path_prefixes | array of string or null | Optional | |
read_group_ids | array of string or null | Optional | |
read_user_ids | array of string or null | Optional | |
repo_name | string or null | Optional | |
repo_owner | string or null | Optional | |
schedule_day | integer or null | Optional | |
schedule_hour | integer or null | Optional | |
schedule_type | string or null | Optional | |