Ban User

Ban a YouTube user

Parameters

Broadcast
select required

What broacast to apply the ban to.

  • All will aply to all broadcasts
  • Latest will apply to the latest broadcast monitored
  • Variable uses the fixed broadcast.id variable to select the broadcast
User Login
string required

Can be a user name or a variable like %userName%

Variables

NameTypeDescription
Example Value:True/False

Indicator whether the ban was successful or not

Display name of the banned user

User ID of the banned user

Login name of the banned user

Example Value:twitch

Platform of the banned user

C# Usage

Bans the selected YouTube user from the given broadcast, by ID

0.2.4
public bool YouTubeBanUserById(string userId, string broadcastId)

Bans the selected YouTube user from the given broadcast, by name

0.2.4
public bool YouTubeBanUserByName(string userName, string broadcastId)