// The ID of the broadcaster whose Shield Mode you want to activate or deactivate.
BroadcasterIDstring`url:"broadcaster_id"`
// The ID of the broadcaster or a user that is one of the broadcaster’s moderators. This ID must match the user ID in the access token.
ModeratorIDstring`url:"moderator_id"`
}
typeUpdateShieldModeStatusRequeststruct{
// A Boolean value that determines whether to activate Shield Mode. Set to true to activate Shield Mode; otherwise, false to deactivate Shield Mode.
IsActivebool`json:"is_active"`
}
typeUpdateShieldModeStatusResponsestruct{
// A list that contains a single object with the broadcaster’s updated Shield Mode status.
Data[]ShieldModeStatus`json:"data"`
}
// Activates or deactivates the broadcaster’s Shield Mode.
//
// Twitch’s Shield Mode feature is like a panic button that broadcasters can push to protect themselves from chat abuse coming from one or more accounts.
// When activated, Shield Mode applies the overrides that the broadcaster configured in the Twitch UX.
// If the broadcaster hasn’t configured Shield Mode, it applies default overrides.
//
// Requires a user access token that includes the moderator:manage:shield_mode scope.