---
title: "Changes to PUT /api/v1/namespaces/{namespaceKey}/segments/{key}"
method: PUT
path: "/api/v1/namespaces/{namespaceKey}/segments/{key}"
---

# Changes to PUT /api/v1/namespaces/{namespaceKey}/segments/{key}

`PUT /api/v1/namespaces/{namespaceKey}/segments/{key}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 5 revisions.

- **2024-08-08** `594afc3dbe2e`: 4 breaking, 8 warning, 2 info
- **2024-08-07** `291b2f802c58`: 5 breaking, 8 info

## Changes

- **2024-08-08** `594afc3dbe2e`: 4 breaking, 8 warning, 2 info
  - request property `matchType` was restricted to a list of enum values
  - the `matchType` request property type changed from `integer` to `string`
  - the `constraints/items/type` response's property type changed from `integer` to `string` for status `200`
  - the `matchType` response's property type changed from `integer` to `string` for status `200`
  - added the new `ALL_MATCH_TYPE` enum value to the `matchType` response property for the response status `200`
  - added the new `ANY_MATCH_TYPE` enum value to the `matchType` response property for the response status `200`
  - added the new `BOOLEAN_COMPARISON_TYPE` enum value to the `constraints/items/type` response property for the response status `200`
  - added the new `DATETIME_COMPARISON_TYPE` enum value to the `constraints/items/type` response property for the response status `200`
  - added the new `ENTITY_ID_COMPARISON_TYPE` enum value to the `constraints/items/type` response property for the response status `200`
  - added the new `NUMBER_COMPARISON_TYPE` enum value to the `constraints/items/type` response property for the response status `200`
  - added the new `STRING_COMPARISON_TYPE` enum value to the `constraints/items/type` response property for the response status `200`
  - added the new `UNKNOWN_COMPARISON_TYPE` enum value to the `constraints/items/type` response property for the response status `200`
  - added the new `ALL_MATCH_TYPE` enum value to the request property `matchType`
  - added the new `ANY_MATCH_TYPE` enum value to the request property `matchType`
- **2024-08-07** `291b2f802c58`: 5 breaking, 8 info
  - removed the enum value `ALL_MATCH_TYPE` of the request property `matchType`
  - removed the enum value `ANY_MATCH_TYPE` of the request property `matchType`
  - the `matchType` request property type changed from `string` to `integer`
  - the `constraints/items/type` response's property type changed from `string` to `integer` for status `200`
  - the `matchType` response's property type changed from `string` to `integer` for status `200`
  - removed the `ALL_MATCH_TYPE` enum value from the `matchType` response property for the response status `200`
  - removed the `ANY_MATCH_TYPE` enum value from the `matchType` response property for the response status `200`
  - removed the `BOOLEAN_COMPARISON_TYPE` enum value from the `constraints/items/type` response property for the response status `200`
  - removed the `DATETIME_COMPARISON_TYPE` enum value from the `constraints/items/type` response property for the response status `200`
  - removed the `ENTITY_ID_COMPARISON_TYPE` enum value from the `constraints/items/type` response property for the response status `200`
  - removed the `NUMBER_COMPARISON_TYPE` enum value from the `constraints/items/type` response property for the response status `200`
  - removed the `STRING_COMPARISON_TYPE` enum value from the `constraints/items/type` response property for the response status `200`
  - removed the `UNKNOWN_COMPARISON_TYPE` enum value from the `constraints/items/type` response property for the response status `200`

---

[Operation](https://skmtc.dev/flipt-io/apis/flipt-api/docs/api/v1/namespaces/:namespaceKey/segments/:key/put.md) - [API](https://skmtc.dev/flipt-io/apis/flipt-api.md) - [Page](https://skmtc.dev/flipt-io/apis/flipt-api/changes/api/v1/namespaces/:namespaceKey/segments/:key/put)
