v31

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-28124212862.9 KB
Playback Restrictions

Update the User Agent Restriction

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

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