---
title: "Update the start and end time of the segments based on latest schema"
method: POST
path: "/segments/{tableNameWithType}/updateZKTimeInterval"
tags: ["Segment"]
---

# Update the start and end time of the segments based on latest schema

`POST /segments/{tableNameWithType}/updateZKTimeInterval`

Update the start and end time of the segments based on latest schema

## Path parameters

- `tableNameWithType` string, required

## Response `200`

Success

## Other responses

- `404` — Table not found
- `500` — Internal server error

---

[API](https://skmtc.dev/startree/apis/pinot-controller-api.md) · [All operations](https://skmtc.dev/startree/apis/pinot-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/startree/pinot-controller-api/revisions/f1cc8a0ba2e0/schema)
