Update domain restrictions for a playback ID
Updates domain-level access restrictions for a specific playback ID of a live stream. Restricts playback to specific domains or blocks unauthorized ones. Replaces the existing domain restrictions while leaving user-agent restrictions unchanged.
How it works:
- Make a
PATCHrequest with your desired domain access configuration. - Set a default policy (
allowordeny) and specify domain names in theallowordenylists. - Commonly used to restrict live playback to your website or approved client domains.
Example:
Allow playback only from example.com and deny all others by setting "defaultPolicy": "deny" and "allow": ["example.com"].
Authentication
FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.
- Username: Access Token ID
- Password: Secret Key
Activate your FastPix account to generate your API credentials. See the guide here
Path parameters
Request
Fallback behavior for domains not listed in the allow or deny lists.
List of domains (exact or wildcard) explicitly allowed to play the stream. Maximum 25 entries.