> ## Documentation Index
> Fetch the complete documentation index at: https://docs.argalabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PATCH Toggle GitHub CI config

> Enable or disable GitHub validation

```bash theme={null}
PATCH /validation/github/config
```

**Request body**

| Field          | Type      | Required | Description                        |
| -------------- | --------- | -------- | ---------------------------------- |
| `repo`         | `string`  | Yes      | Repository in `owner/repo` format. |
| `trigger_mode` | `string`  | Yes      | `pr` or `branch`.                  |
| `enabled`      | `boolean` | Yes      | Desired enabled state.             |
