Create a Playback Restriction
POST {{baseUrl}}/video/v1/playback-restrictions
Create a new Playback Restriction.
Request Body
{"referrer"=>{"allowed_domains"=>["*.example.com"], "allow_no_referrer"=>true}, "user_agent"=>{"allow_no_user_agent"=>false, "allow_high_risk_user_agent"=>false}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"data":{"id":"9dbEg8o00uqQzZbzJT6NXdqNA00SdnSo8O","updated_at":"1607945257","created_at":"1607945257","referrer":{"allowed_domains":["*.example.com"],"allow_no_referrer":true},"user_agent":{"allow_no_user_agent":false,"allow_high_risk_user_agent":false}}}