---
title: "Changes to Set policies"
method: POST
path: "/v2/gateway.setPolicies"
---

# Changes to Set policies

`POST /v2/gateway.setPolicies`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 91 revisions.

- **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** `1ee061c4f510` — 1 info

## Changes

- **2026-08-17** `68e1a2c609c0` — 1 info
  - added the new optional request property `policies/items/logging`
- **2026-08-13** `a021527e00d2` — 1 info
  - added the new optional request property `policies/items/keyauth/credits`
- **2026-08-12** `9bbd42d710cf` — 2 breaking, 5 warning, 3 info
  - added `#/components/schemas/RatelimitIdentifier` to the `policies/items/ratelimit/identifier` request property `allOf` list
  - the `policies/items/ratelimit/identifier` request property type/format changed from `object`/`` to ``/``
  - removed the request property `policies/items/ratelimit/identifier/authenticatedSubject`
  - removed the request property `policies/items/ratelimit/identifier/header`
  - removed the request property `policies/items/ratelimit/identifier/path`
  - removed the request property `policies/items/ratelimit/identifier/principalField`
  - removed the request property `policies/items/ratelimit/identifier/remoteIp`
  - added the new optional request property `policies/items/ratelimit/identifiers`
  - the request property `policies/items/ratelimit/identifier` became optional
  - request property `policies/items/ratelimit/identifier` deprecated
- **2026-07-16** `1ee061c4f510` — 1 info
  - endpoint added

---

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