---
title: "Changes to Update flag rules"
method: PUT
path: "/flags/{flag_id}/rules"
---

# Changes to Update flag rules

`PUT /flags/{flag_id}/rules`

> Every recorded change to this operation, newest first.
> 230 revisions in range; 1 not diffed.

## Timeline

Changed in 3 of 230 revisions.

- **2026-10-15** `cdb3124e1bed`: 2 breaking, 1 info
- **2026-09-02** `e6877e252959`: 2 info
- **2026-06-25** `5eb95e8d48e1`: 2 breaking

## Changes

- **2026-10-15** `cdb3124e1bed`: 2 breaking, 1 info
  - the response property `data/flag/default_value` became nullable for the status `200`
  - the response property `data/flag/default_value` became optional for the status `200`
  - response property `data/flag/default_value` deprecated
- **2026-09-02** `e6877e252959`: 2 info
  - added the optional property `data/rules/items/condition_groups/items/conditions/items/plan_versions` to the response with the `200` status
  - added the optional property `data/rules/items/conditions/items/plan_versions` to the response with the `200` status
- **2026-06-25** `5eb95e8d48e1`: 2 breaking
  - the `rules/items/condition_groups/items/conditions/items/credit_cost` request property format changed from no format to `double`
  - the `rules/items/conditions/items/credit_cost` request property format changed from no format to `double`

---

[Operation](https://skmtc.dev/schematichq/apis/schematic-api/docs/flags/:flag_id/rules/put.md) - [API](https://skmtc.dev/schematichq/apis/schematic-api.md) - [Page](https://skmtc.dev/schematichq/apis/schematic-api/changes/flags/:flag_id/rules/put)
