Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Restrictions → Update Channels

AI-generated

Summary

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

Links

Discussion