Playback Restrictions

Update the User Agent Restriction

Changed on

Allows you to modify how Mux validates playback requests with different user agents. Please see Using User-Agent HTTP header for validation for more details on this feature.

put/video/v1/playback-restrictions/{PLAYBACK_RESTRICTION_ID}/user_agent

Request

  • Base URL
    https://api.mux.com
  • Auth
    • HTTP basic
    • or HTTP bearer

Path parameters

PLAYBACK_RESTRICTION_IDstring required

ID of the Playback Restriction.

Request body

allow_no_user_agentboolean required

Whether or not to allow views without a User-Agent HTTP request header.

allow_high_risk_user_agentboolean required

Whether or not to allow high risk user agents. The high risk user agents are defined by Mux.

Response

OK

Changes