deleteSegment

suspend fun deleteSegment(broadcasterId: String, segmentId: String)

Twitch API: Delete Channel Stream Schedule Segment

Removes a broadcast segment from the broadcaster's streaming schedule.

NOTE: For recurring segments, removing a segment removes all segments in the recurring schedule.

Parameters

broadcasterId

the ID of the broadcaster that owns the streaming schedule. This ID must match the user ID in the user access token.

segmentId

the ID of the broadcast segment to remove.