Authorization: Bearer ********************{
"video_access_rules": {
"geo_country": {
"action": "allow",
"enabled": false,
"countries": [
"BD",
"IN"
]
},
"geo_ip": {
"action": "allow",
"enabled": true,
"ips": [
"127.0.0.1"
]
},
"domain_referrer": {
"action": "allow",
"enabled": true,
"domains": [
"sohel.pro"
]
},
"token": {
"enabled": true,
"secret": "ceasfslfslfslfjslfjslfjlsfjlsfjslfjslfjslflsfjsa"
}
},
"livestream_access_rules": {
"geo_country": {
"action": "allow",
"enabled": true,
"countries": [
"BD",
"IN"
]
},
"geo_ip": {
"action": "allow",
"enabled": true,
"ips": [
"127.0.0.1"
]
},
"domain_referrer": {
"action": "allow",
"enabled": true,
"domains": [
"sohel.pro"
]
},
"token": {
"enabled": true,
"secret": "ceasfslfslfslfjslfjslfjlsfjlsfjslfjslfjslflsfjsa"
}
}
}curl --location --request PUT 'https://apistream.gotipath.com/v1/libraries/34f4dcc3-a5f0-48dd-8c62-b467929d2ec6/access-controls' \
--header 'X-Auth-ClientId: ebe8bac0-eaef-4548-8b59-96c9ec38a22b' \
--header 'X-Auth-LibraryId: 89898172-d32b-49f8-a94a-bdf0c6ca1bd9' \
--header 'X-Auth-ApiKey: pEBPYVUNMbP7uDsb0W2h3oTjpEqr32fFh/3TNUhvFcJt7/J/hyV+5LctVWONgzaw+w+PpQ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"video_access_rules": {
"geo_country": {
"action": "allow",
"enabled": false,
"countries": [
"BD",
"IN"
]
},
"geo_ip": {
"action": "allow",
"enabled": true,
"ips": [
"127.0.0.1"
]
},
"domain_referrer": {
"action": "allow",
"enabled": true,
"domains": [
"sohel.pro"
]
},
"token": {
"enabled": true,
"secret": "ceasfslfslfslfjslfjslfjlsfjlsfjslfjslfjslflsfjsa"
}
},
"livestream_access_rules": {
"geo_country": {
"action": "allow",
"enabled": true,
"countries": [
"BD",
"IN"
]
},
"geo_ip": {
"action": "allow",
"enabled": true,
"ips": [
"127.0.0.1"
]
},
"domain_referrer": {
"action": "allow",
"enabled": true,
"domains": [
"sohel.pro"
]
},
"token": {
"enabled": true,
"secret": "ceasfslfslfslfjslfjslfjlsfjlsfjslfjslfjslflsfjsa"
}
}
}'{}