---
title: "Changes to Update policy"
method: POST
path: "/v2/gateway.updatePolicy"
---

# Changes to Update policy

`POST /v2/gateway.updatePolicy`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 146 revisions.

- **2026-10-15** `6fee91b79da3`: 2 breaking
- **2026-09-30** `2a504dcea6cb`: 1 info
- **2026-08-17** `68e1a2c609c0`: 1 info
- **2026-08-13** `a021527e00d2`: 1 info
- **2026-08-12** `9bbd42d710cf`: 2 breaking, 5 warning, 3 info
- **2026-07-16** `20b23f974175`: 1 info

## Changes

- **2026-10-15** `6fee91b79da3`: 2 breaking
  - removed the enum value `true` of the request property `match/items/header/present`
  - removed the enum value `true` of the request property `match/items/queryParam/present`
- **2026-09-30** `2a504dcea6cb`: 1 info
  - added the new optional request property `match/items/remoteIp`
- **2026-08-17** `68e1a2c609c0`: 1 info
  - added the new optional request property `logging`
- **2026-08-13** `a021527e00d2`: 1 info
  - added the new optional request property `keyauth/credits`
- **2026-08-12** `9bbd42d710cf`: 2 breaking, 5 warning, 3 info
  - added `#/components/schemas/RatelimitIdentifier` to the `ratelimit/identifier` request property `allOf` list
  - the `ratelimit/identifier` request property type changed from `object` to no type
  - removed the request property `ratelimit/identifier/authenticatedSubject`
  - removed the request property `ratelimit/identifier/header`
  - removed the request property `ratelimit/identifier/path`
  - removed the request property `ratelimit/identifier/principalField`
  - removed the request property `ratelimit/identifier/remoteIp`
  - added the new optional request property `ratelimit/identifiers`
  - the request property `ratelimit/identifier` became optional
  - request property `ratelimit/identifier` deprecated
- **2026-07-16** `20b23f974175`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/unkeyed/apis/unkey-api/docs/v2/gateway.updatePolicy/post.md) - [API](https://skmtc.dev/unkeyed/apis/unkey-api.md) - [Page](https://skmtc.dev/unkeyed/apis/unkey-api/changes/v2/gateway.updatePolicy/post)
