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

# Changes to PUT /api/v1/namespaces/{namespaceKey}/segments/{segmentKey}/constraints/{id}

`PUT /api/v1/namespaces/{namespaceKey}/segments/{segmentKey}/constraints/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 5 revisions.

- **2024-08-08** `594afc3dbe2e`: 3 breaking, 6 warning, 6 info
- **2024-08-07** `291b2f802c58`: 8 breaking, 6 info

## Changes

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

---

[Operation](https://skmtc.dev/flipt-io/apis/flipt-api/docs/api/v1/namespaces/:namespaceKey/segments/:segmentKey/constraints/:id/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/:segmentKey/constraints/:id/put)
