---
title: "Changes to Delete Flow Segment"
method: DELETE
path: "/flows/{flowId}/segments"
---

# Changes to Delete Flow Segment

`DELETE /flows/{flowId}/segments`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 24 revisions.

- **2025-06-11** `e3d4dd57646b`: 1 warning, 2 info
- **2025-04-24** `b01aaf8cffe2`: 1 warning, 2 info

## Changes

- **2025-06-11** `e3d4dd57646b`: 1 warning, 2 info
  - changed the pattern of the `query` request parameter `timerange` from `^(\[|\()?(-?\d+:\d+)?(_(-?\d+:\d+)?)?(\]|\))?$` to `^(\[|\()?(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?(_(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?)?(\]|\))?$`
  - the `timerange_remaining` response's property pattern was changed from `^(\[|\()?(-?\d+:\d+)?(_(-?\d+:\d+)?)?(\]|\))?$` to `^(\[|\()?(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?(_(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?)?(\]|\))?$` for the status `202`
  - the `timerange_to_delete` response's property pattern was changed from `^(\[|\()?(-?\d+:\d+)?(_(-?\d+:\d+)?)?(\]|\))?$` to `^(\[|\()?(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?(_(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?)?(\]|\))?$` for the status `202`
- **2025-04-24** `b01aaf8cffe2`: 1 warning, 2 info
  - changed the pattern of the `query` request parameter `timerange` from `^(\[|\()?(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?(_(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?)?(\]|\))?$` to `^(\[|\()?(-?\d+:\d+)?(_(-?\d+:\d+)?)?(\]|\))?$`
  - the `timerange_remaining` response's property pattern was changed from `^(\[|\()?(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?(_(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?)?(\]|\))?$` to `^(\[|\()?(-?\d+:\d+)?(_(-?\d+:\d+)?)?(\]|\))?$` for the status `202`
  - the `timerange_to_delete` response's property pattern was changed from `^(\[|\()?(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?(_(-?(0|[1-9][0-9]*):(0|[1-9][0-9]{0,8}))?)?(\]|\))?$` to `^(\[|\()?(-?\d+:\d+)?(_(-?\d+:\d+)?)?(\]|\))?$` for the status `202`

---

[Operation](https://skmtc.dev/aws-samples/apis/time-addressable-media-store/docs/flows/:flowId/segments/delete.md) - [API](https://skmtc.dev/aws-samples/apis/time-addressable-media-store.md) - [Page](https://skmtc.dev/aws-samples/apis/time-addressable-media-store/changes/flows/:flowId/segments/delete)
