---
title: "JSON Patch Operation"
url: "https://nov18-dev.movespot.fyi/apis/konnect-api-catalog-3/versions/b74d7c76-ffb8-4e47-b70c-11184b8918a6/schemas/APIPackageJSONPatchOperation"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-api-catalog-3/versions/b74d7c76-ffb8-4e47-b70c-11184b8918a6.md

# JSON Patch Operation

A JSON Patch operation to add or remove API Operations from a Package.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect API Catalog
  version: 3.1.1
servers:
  - url: https://us.api.konghq.com/v3
    description: United-States Production region
  - url: https://eu.api.konghq.com/v3
    description: Europe Production region
  - url: https://au.api.konghq.com/v3
    description: Australia Production region
  - url: https://me.api.konghq.com/v3
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v3
    description: India Production region
  - url: https://sg.api.konghq.com/v3
    description: Singapore Production region
components:
  schemas:
    APIPackageJSONPatchItem:
      description: A JSON Patch operation to add or remove an API Operation from a Package.
      type: object
      properties:
        op:
          description: The operation to perform.
          type: string
          enum:
            - add
            - remove
            - replace
        path:
          description: The path to the API Operation in the Package, in the format
            "operations/<uuid>".
          type: string
          pattern: ^operations/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
        value:
          type: object
          additionalProperties: false
          properties:
            rate_limiting_config:
              $ref: "#/components/schemas/RateLimitingConfig"
          required:
            - rate_limiting_config
      additionalProperties: false
      required:
        - op
        - path
    RateLimitingConfig:
      description: Rate limit configuration that can be applied to an API Package or
        an API Package Operation.
      type: object
      properties:
        limit:
          description: The amount of requests allowed for each operation within the
            specified duration.
          type: integer
          minimum: 0
        duration:
          description: The timeframe to ensure that an application does not exceed the
            request limit.
          type: string
          enum:
            - seconds
            - minutes
            - hours
      additionalProperties: false
      nullable: true
      required:
        - limit
        - duration
      title: Rate Limiting configuration
    APIPackageJSONPatchOperation:
      description: A JSON Patch operation to add or remove API Operations from a Package.
      type: array
      items:
        $ref: "#/components/schemas/APIPackageJSONPatchItem"
      minItems: 1
      title: JSON Patch Operation
```
