# Patch Prefix
Some APIs use a naming convention for PATCH request schemas where all fields are optional (to allow partial updates). The `--patch-prefix` flag lets you specify this convention.
## Default
NetBox uses the `Patched` prefix:
- `PatchedDeviceRequest`: PATCH /api/dcim/devices/{id}/
- `PatchedSiteRequest`: PATCH /api/sites/sites/{id}/
- `PatchedCircuitRequest`: PATCH /api/circuits/circuits/{id}/
All fields in these schemas are made `Option<T>` with `#[serde(skip_serializing_if = "Option::is_none")]`.
## Custom Prefix
For a different API convention:
```bash
thanix schema.yaml --patch-prefix Update
```
This would match schemas named `UpdateDeviceRequest`, `UpdateSiteRequest`, etc.
## Disabling
Pass an empty string to disable:
```bash
thanix schema.yaml --patch-prefix ""
```
This treats all schemas uniformly — no special partial-update handling.