@ory/kratos-client
Version:
OpenAPI client for @ory/kratos-client
28 lines (20 loc) • 1.33 kB
Markdown
# JsonPatch
A JSONPatch document as defined by RFC 6902
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**from** | **string** | This field is used together with operation \"move\" and uses JSON Pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). | [optional] [default to undefined]
**op** | **string** | The operation to be performed. One of \"add\", \"remove\", \"replace\", \"move\", \"copy\", or \"test\". | [default to undefined]
**path** | **string** | The path to the target path. Uses JSON pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). | [default to undefined]
**value** | **any** | The value to be used within the operations. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). | [optional] [default to undefined]
## Example
```typescript
import { JsonPatch } from '@ory/kratos-client';
const instance: JsonPatch = {
from,
op,
path,
value,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)