Actions92
- Channel Actions
- Channel > Config Actions
- Event Actions
- Integrations Actions
- Live Actions
- Misc > Countries Actions
- Misc > Stream Actions
- Option Actions
- Option > Record Actions
- Option > Record > Instant Actions
- Option > Record > Storage Actions
- Option > Timeshift Actions
- Option > Watermarking Actions
- Option > Simulcast Actions
- Players Actions
- Players > Ads Actions
- Players > Embeds Actions
- Players > Pictures Actions
- Prices Actions
- Restrictions Actions
- Stats > Channel > Connection History Actions
- Stats > Channel > Consumption Actions
- Stats > Channel > Export Stats Actions
- Stats > Channel > Geolocation Actions
- Stats > Channel > Technologies Actions
- Stats > Channel > Viewers Actions
- Stats > Channel > Viewing Actions
- Stats > Globals > Consumption Actions
- Stats > Globals > Geolocation Actions
- Stats > Globals > Viewers Actions
- Stats > Globals > Viewing Actions
- Thumbnail Actions
- Order Actions
Restrictions → Update Channels
AI-generatedSummary
Update channel restrictions for a given account
Inputs
- authentication — Authentication method (OAuth2 or API Key)
- path_channel (required) — Unique identifier of the channel to update
- query_account_id (required) — Account identifier to which the channel belongs
- bodyParameters — Additional body fields for the restriction update
- returnFullResponse — Whether to return the full API response
Output shape
restriction object or success indicator
If returnFullResponse is true, the full API response is returned; otherwise only a success/failure indicator is returned
Examples
Example 1: Update channel ID 5 for account 123 using OAuth2 with access country set to US
authentication: oauth2, path_channel: 5, query_account_id: 123, bodyParameters: {access_country: 'US'}, returnFullResponse: false
Example 2: Update channel ID 7 using API Key, block a forbidden IP, and request full response
authentication: apiKey, path_channel: 7, query_account_id: 123, bodyParameters: {forbidden_ip: '192.0.2.1', authorize_country: true}, returnFullResponse: true