---
title: "Update API Package Operation"
method: PATCH
path: "/v3/api-packages/{packageId}/operations"
tags: ["API Package Operations"]
---

# Update API Package Operation

`PATCH /v3/api-packages/{packageId}/operations`

Update API Package Operations

## Request body

- APIPackageJSONPatchItem[] — A JSON Patch operation to add or remove API Operations from a Package.
  - `op` 'add' | 'remove' | 'replace', required — The operation to perform.
  - `path` string, required — The path to the API Operation in the Package, in the format "operations/<uuid>".
  - `value` object
    - `rate_limiting_config` RateLimitingConfig, nullable, required — Rate limit configuration that can be applied to an API Package or an API Package Operation.
      - `limit` integer, required — The amount of requests allowed for each operation within the specified duration.
      - `duration` 'seconds' | 'minutes' | 'hours', required — The timeframe to ensure that an application does not exceed the request limit.

## Response `204`

API operations were successfully added or removed to the package.

## Other responses

- `400` — Bad Request
- `401` — ApiUnauthorized
- `403` — ApiForbidden
- `404` — Not Found
- `409` — Conflict - `slug` property must be unique

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/revisions/f920f418f552/schema)
