Set a GitHub connection's features.
Replaces the connection's enabled features (actions, pull_requests, issues, workflow_files, contents_write; an empty list is the read-only default). The set is saved either way; it is active when GitHub has granted what the features need, else reconsent_url is where the account owner approves the App's permissions.
| |
|---|
| Scope | connectors:write (sensitive) |
| Asynchronous | No |
| MCP tool | update_github_installation_features |
| Portal permissions | manage_github_installations |
Parameters
| Name | In | Type | Required | Description |
|---|
github_installation_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
GitHubInstallationFeatures
| Field | Type | Required | Description |
|---|
account_login | string or null | Required | |
active | boolean or null | Required | Whether the enabled features are active (GitHub has granted what they need). Null on a read: it is evaluated when the features are set. |
enabled_features | array of string | Required | |
github_installation_id | string | Required | |
manage_url | string | Required | |
reconsent_url | string or null | Required | Where the account owner approves the App's permissions, when the features are not active. |
| Field | Type | Required | Description |
|---|
account_login | string or null | Optional | |
active | boolean or null | Optional | |
enabled_features | array of string or null | Optional | |
github_installation_id | string or null | Optional | |
manage_url | string or null | Optional | |
reconsent_url | string or null | Optional | |