patch
https://api.fastpix.io/v1/on-demand//playback-ids//domains
This endpoint updates domain-level restrictions for a specific playback ID associated with a media asset. It allows you to restrict playback to specific domains or block known unauthorized domains.
How it works:
- Make a
PATCHrequest to this endpoint with your desired domain access configuration. - Set a default policy (
allowordeny) and specify domain names in theallowordenylists. - This is commonly used to restrict video playback to your website or approved client domains.
Example:
A streaming service can allow playback only from example.com and deny all others by setting: "defaultPolicy": "deny" and "allow": ["example.com"].