Skip to main content
Removes a segment entry by its unique identifier.

Methods

Remove

Deletes a segment using the default background context.

RemoveWithContext

Deletes a segment with a custom context for cancellation and timeout control.

Parameters

string
required
The unique identifier of the segment to delete.

Response

string
The unique identifier of the deleted segment.
string
The object type, always segment.
boolean
Indicates whether the segment was successfully deleted.

Example

Deleting a segment is permanent and cannot be undone. Make sure you want to delete the segment before proceeding.