removeModerator

suspend fun removeModerator(broadcasterId: String, userId: String)

Twitch API: Remove Channel Moderator

Removes a moderator from the broadcaster's chat room.

Rate Limits: The broadcaster may remove a maximum of 10 moderators within a 10-second window.

Parameters

broadcasterId

the ID of the broadcaster that owns the chat room. This ID must match the user ID in the access token.

userId

the ID of the user to remove as a moderator from the broadcaster's chat room.