Update the Referrer Playback Restriction
PUT {{baseUrl}}/video/v1/playback-restrictions/:PLAYBACK_RESTRICTION_ID/referrer
Allows you to modify the list of domains or change how Mux validates playback requests without the Referer
HTTP header. The Referrer restriction fully replaces the old list with this new list of domains.
Request Body
{"allowed_domains"=>["*.example.com"], "allow_no_referrer"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
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}}}