# JSONPatchOp

Audience: Developer

RFC 6902 JSON Patch operation type.

RFC 6902 JSON Patch operation type.
See: https://datatracker.ietf.org/doc/html/rfc6902

**Services:** [file](https://docs.pyck.cloud/dev/api/services/file.md), [inventory](https://docs.pyck.cloud/dev/api/services/inventory.md), [maindata](https://docs.pyck.cloud/dev/api/services/maindata.md), [management](https://docs.pyck.cloud/dev/api/services/management.md), [picking](https://docs.pyck.cloud/dev/api/services/picking.md), [receiving](https://docs.pyck.cloud/dev/api/services/receiving.md)

## Values

| Value | Description |
| --- | --- |
| `ADD` | Insert or set a value at the target path. |
| `REMOVE` | Delete the value at the target path. |
| `REPLACE` | Update an existing value at the target path. |
| `MOVE` | Move a value from one path to another (requires from). |
| `COPY` | Copy a value from one path to another (requires from). |
| `TEST` | Assert a value equals the expected; fails the entire patch if not. |
