---
title: "Changes to Create or replace a policy set binding"
method: PUT
path: "/zones/{zone_id}/policy-bindings"
---

# Changes to Create or replace a policy set binding

`PUT /zones/{zone_id}/policy-bindings`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 23 revisions.

- **2026-06-17** `1a0dd4d857ee` — 1 warning, 9 info
- **2026-04-20** `932699a5ea16` — 1 info

## Changes

- **2026-06-17** `1a0dd4d857ee` — 1 warning, 9 info
  - added the new `active` enum value to the `mode` response property for the response status `200`
  - added the new optional request property `target_id`
  - added the new optional request property `target_type`
  - the request property `scope_type` became optional
  - request property `scope_target_id` deprecated
  - request property `scope_type` deprecated
  - response property `scope_target_id` deprecated
  - response property `scope_type` deprecated
  - added the required property `target_id` to the response with the `200` status
  - added the required property `target_type` to the response with the `200` status
- **2026-04-20** `932699a5ea16` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/keycardai/apis/untitled-api/docs/zones/:zone_id/policy-bindings/put.md) · [API](https://skmtc.dev/keycardai/apis/untitled-api.md) · [Page](https://skmtc.dev/keycardai/apis/untitled-api/changes/zones/:zone_id/policy-bindings/put)
