Update user-agent restrictions for a playback ID
Updates user-agent access restrictions for a specific playback ID of a live stream. Allows or denies specific user agents during playback. Replaces the existing user-agent restrictions while leaving domain restrictions unchanged.
How it works:
- Make a
PATCHrequest with your desired user-agent access configuration. - Set a default policy (
allowordeny) and specify user agents in theallowordenylists. - Use this to restrict access to specific browsers, devices, or bots.
Example: Deny access from known scraping user agents while allowing all others by default.
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
The default behavior when a user agent is not listed in allow or deny.
List of user-agent substrings explicitly allowed. Maximum 25 entries.
List of user-agent substrings explicitly denied. Maximum 25 entries.
Response
Successfully updated user-agent restrictions