Files
developer.sailpoint.com/static/api-specs/idn/beta/schemas/JsonPatchOperation.yaml
2022-09-26 21:59:54 -04:00

35 lines
879 B
YAML

type: object
description: A JSONPatch Operation as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902)
required:
- "op"
- "path"
properties:
op:
type: string
description: The operation to be performed
enum:
- "add"
- "remove"
- "replace"
- "move"
- "copy"
- "test"
example: "replace"
path:
type: string
description: A string JSON Pointer representing the target path to an element to be affected by the operation
example: "/description"
value:
anyOf:
- type: string
- type: integer
- type: object
- type: array
items:
anyOf:
- type: string
- type: integer
- type: object
description: The value to be used for the operation, required for "add" and "replace" operations
example: "New description"