Authorization: Bearer ********************curl --location --request PUT 'https://api-staging.tenbyte.io/v1/v1/libraries/314221a1-3cbf-4d3c-846e-f6c22bc43064/security' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"referrers": {
"action": "allow",
"values": ["example.com", "partner.com"],
"enabled": true
},
"countries": {
"action": "deny",
"values": ["RU", "CN"],
"enabled": true
},
"video_privacy": "private"
}'{
"data": {
"whitelist_referrers": {
"action": "allow",
"values": [
"www.vidinfra.com",
"app.partnerdomain.com"
],
"enabled": false
},
"blocked_countries": {
"action": "allow",
"values": [
"CN",
"RU"
],
"enabled": false
},
"video_privacy": "unlisted"
},
"message": "Security Settings Updated Successfully",
"success": true
}