Skip to main content

Patchoperation

A single change that needs to be made to a resource

fromstring

The field from where a value should be moved, when using move

Example: /old_name
opstringrequired

The change to perform

Possible values: [ADD, REPLACE, REMOVE, MOVE]

Example: REPLACE
pathstringrequired

The field to perform the operation on

Example: /name
valueobject

The value of the field, can be null

Example: new_value
Patchoperation
{
"from": "/old_name",
"op": "REPLACE",
"path": "/name",
"value": "new_value"
}