v1
latestOpenAPI 3.0.12026-07-26245126202.6 KBSegment
Delete the list of segments provided in the queryParam else all segments
Delete the list of segments provided in the queryParam else all segments
delete/segments/{tableName}
Path parameters
tableNamestring required
Name of the table
Query parameters
typestring required
OFFLINE|REALTIME
retentionstring
Retention period for the table segments (e.g. 12h, 3d); If not set, the retention period will default to the first config that's not null: the table config, then to cluster setting, then '7d'. Using 0d or -1d will instantly delete segments without retention
segmentsstring[]
Segment names to be deleted if not provided deletes all segments by default
Response
successful operation