Skip to main content
PUT
Replace a Segment
Send currentSegmentId and newSegmentId; the response is the number of records moved.

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Body

The replace segment request model.

Represents a segment replacement request.

currentSegmentId
integer<int64>

The unique identifier of the segment to replace.

newSegmentId
integer<int64> | null

The unique identifier of the segment to use instead.

Response

OK

The response is of type integer<int32>.

Last modified on July 28, 2026