---
title: "Changes to Update a flag"
method: PATCH
path: "/apps/{appId}/flags/{flagId}"
---

# Changes to Update a flag

`PATCH /apps/{appId}/flags/{flagId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 4 revisions.

- **2026-11-06** `280aaed4e96e`: 1 breaking, 2 info
- **2026-09-11** `168d14804058`: 1 info

## Changes

- **2026-11-06** `280aaed4e96e`: 1 breaking, 2 info
  - request property `ownerUserId` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the request property `ownerUserId` became nullable
  - the `flag/owner/email` response's property pattern was changed from `^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$` to `^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$` for the status `200`
- **2026-09-11** `168d14804058`: 1 info
  - added the required property `flagStateVersions` to the response with the `200` status

---

[Operation](https://skmtc.dev/reflag/apis/reflag-management-api/docs/apps/:appId/flags/:flagId/patch.md) - [API](https://skmtc.dev/reflag/apis/reflag-management-api.md) - [Page](https://skmtc.dev/reflag/apis/reflag-management-api/changes/apps/:appId/flags/:flagId/patch)
