Update the User Agent Restriction

PUT {{baseUrl}}/video/v1/playback-restrictions/:PLAYBACK_RESTRICTION_ID/user_agent

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.

Request Body

{"allow_no_user_agent"=>false, "allow_high_risk_user_agent"=>false}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"data":{"id":"9dbEg8o00uqQzZbzJT6NXdqNA00SdnSo8O","updated_at":"1607945257","created_at":"1607939184","referrer":{"allowed_domains":["*.example.com"],"allow_no_referrer":true},"user_agent":{"allow_no_user_agent":false,"allow_high_risk_user_agent":false}}}