# repository-rule-params-restricted-commits

Restricted commit

**Type:** object

## Fields

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `oid` | string | Yes | Full or abbreviated commit hash to reject |
| `reason` | string | No | Reason for restriction |

