Skip to main content
GET
/
libraries
/
{libraryId}
/
security
Get Security Settings
curl --request GET \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/security \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "whitelist_referrers": {
      "action": "allow",
      "values": [
        "www.vidinfra.com",
        "app.partnerdomain.com"
      ],
      "enabled": false
    },
    "blocked_countries": {
      "action": "allow",
      "values": [
        "CN",
        "RU"
      ],
      "enabled": false
    }
  },
  "message": "Security Settings Fetched Successfully",
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

libraryId
string
required

Unique identifier of the library.

Response

data
object
required
message
string
required
success
boolean
required