patch https://api.fastpix.io/v1/on-demand//playback-ids//user-agents
This endpoint allows updating user-agent restrictions for a specific playback ID associated with a media asset. It can be used to allow or deny specific user-agents during playback request evaluation.
How it works:
- Make a PATCH request to the endpoint with the updated user-agent restriction configuration.
- Specify a default policy (
allow
ordeny
) and provide specificallow
ordeny
lists. - Useful for restricting access to certain browsers, devices, or bots.
Example: A developer may configure a playback ID to deny access from known scraping user-agents while allowing all others by default.