---
title: "Cancel a restream operation"
method: DELETE
path: "/tables/{tableNameWithType}/restream"
tags: ["Restream"]
---

# Cancel a restream operation

`DELETE /tables/{tableNameWithType}/restream`

Cancel a restream operation

## Path parameters

- `tableNameWithType` string, required

## Response `200`

successful operation

- TableRestreamStatusResponse
  - `timeElapsedSinceStartInSeconds` integer
  - `jobId` string
  - `stage` 'INIT' | 'TABLE_STREAM' | 'FORCE_COMMIT' | 'REBALANCE' | 'DONE' | 'FAILED' | 'CANCELLED'
  - `restreamConfig` TableRestreamConfig
    - `debugPause` boolean
    - `destTableNameWithType` string
    - `maxRebalanceTimeMin` integer
    - `destServerTenant` string
    - `destBrokerTenant` string
    - `maxTableStreamLag` integer
    - `tableNameWithType` string
  - `tableStreamProgress` TableStreamProgress
    - `lastProbedLag` integer
    - `lastProbeTimeMs` integer
    - `startTime` integer
  - `verboseTableStreamLag` object
  - `forceCommitProgress` ForceCommitProgress
    - `lastProbeTimeMs` integer
    - `startTime` integer
    - `totalConsumingSegments` integer
    - `consumingSegmentsCommitted` integer
  - `segmentsToBeCommitted` string[]

---

[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)
