---
title: "Changes to PUT /api/v1/projects/{project_pk}/segments/{id}/"
method: PUT
path: "/api/v1/projects/{project_pk}/segments/{id}/"
---

# Changes to PUT /api/v1/projects/{project_pk}/segments/{id}/

`PUT /api/v1/projects/{project_pk}/segments/{id}/`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 21 revisions.

- **2026-10-09** `1c18bac140c0`: 4 breaking, 4 info
- **2026-08-26** `5a8154d05269`: 1 info
- **2026-08-26** `87e7d6868520`: 1 warning, 3 info
- **2026-08-25** `dd463c39d609`: 1 info
- **2026-08-12** `163812663fc2`: 1 breaking, 4 info
- **2026-08-12** `844cca3f7089`: 1 info

## Changes

- **2026-10-09** `1c18bac140c0`: 4 breaking, 4 info
  - removed `#/components/schemas/ManagedByEnum` from the `managed_by` request property `oneOf` list (media type: application/json)
  - removed `#/components/schemas/ManagedByEnum` from the `managed_by` request property `oneOf` list (media type: application/x-www-form-urlencoded)
  - removed `#/components/schemas/ManagedByEnum` from the `managed_by` request property `oneOf` list (media type: multipart/form-data)
  - added `#/components/schemas/SegmentManagedByEnum` to the `managed_by` response property `oneOf` list for the response status `200`
  - added `#/components/schemas/SegmentManagedByEnum` to the `managed_by` request property `oneOf` list (media type: application/json)
  - added `#/components/schemas/SegmentManagedByEnum` to the `managed_by` request property `oneOf` list (media type: application/x-www-form-urlencoded)
  - added `#/components/schemas/SegmentManagedByEnum` to the `managed_by` request property `oneOf` list (media type: multipart/form-data)
  - removed `#/components/schemas/ManagedByEnum` from the `managed_by` response property `oneOf` list for the response status `200`
- **2026-08-26** `5a8154d05269`: 1 info
  - added the optional property `has_overrides` to the response with the `200` status
- **2026-08-26** `87e7d6868520`: 1 warning, 3 info
  - added the new `mixpanel` enum value to the `cohort/oneOf[#/components/schemas/_SegmentCohort]/source_type` response property for the response status `200`
  - added the new `mixpanel` enum value to the request property `cohort/oneOf[#/components/schemas/_SegmentCohort]/source_type` (media type: application/json)
  - added the new `mixpanel` enum value to the request property `cohort/oneOf[#/components/schemas/_SegmentCohort]/source_type` (media type: application/x-www-form-urlencoded)
  - added the new `mixpanel` enum value to the request property `cohort/oneOf[#/components/schemas/_SegmentCohort]/source_type` (media type: multipart/form-data)
- **2026-08-25** `dd463c39d609`: 1 info
  - added the optional property `cohort` to the response with the `200` status
- **2026-08-12** `163812663fc2`: 1 breaking, 4 info
  - the response property `project` became optional for the status `200`
  - the request required property `project` became read-only (media type: application/json)
  - the request required property `project` became read-only (media type: application/x-www-form-urlencoded)
  - the request required property `project` became read-only (media type: multipart/form-data)
  - the response required property `project` became read-only for the status `200`
- **2026-08-12** `844cca3f7089`: 1 info
  - added the optional property `managed_by` to the response with the `200` status

---

[Operation](https://skmtc.dev/flagsmith/apis/flagsmith-api/docs/api/v1/projects/:project_pk/segments/:id/put.md) - [API](https://skmtc.dev/flagsmith/apis/flagsmith-api.md) - [Page](https://skmtc.dev/flagsmith/apis/flagsmith-api/changes/api/v1/projects/:project_pk/segments/:id/put)
