Sign in

Update Shield Mode Status

documented

Updates shield mode status.

PUT /helix/moderation/shieldModerationno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

Note: The endpoint you asked about (PUT /helix/moderation/shield) does not appear in Twitch's official Helix API docs. The documented endpoint for Shield Mode is /helix/moderation/shield_mode. See references here: Update Shield Mode Status and related Shield Mode docs. ([dev.twitch.tv](https://dev.twitch.tv/docs/api/reference?utm_source=openai))

npx -y keychains@latest curl "https://api.twitch.tv/helix/moderation/shield_mode?broadcaster_id={{$broadcaster_id}}&moderator_id={{$moderator_id}}" \\
  -X PUT \\
  -H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \\
  -H 'Client-Id: {{TWITCH_CLIENT_ID}}' \\
  -H 'Content-Type: application/json' \\
  -d '{"is_active": {{$is_active}}}'