PUT
/
api
/
v3
/
network-settings
/
video-streaming
Update video streaming setting check configuration.
curl --request PUT \
  --url https://apix.us.amity.co/api/v3/network-settings/video-streaming \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enabled": true,
  "moderation": {
    "enabled": true,
    "categories": [
      {
        "category": "pornography",
        "flagThreshold": 0.5,
        "terminateThreshold": 0.5
      }
    ]
  }
}'
{
  "enabled": true,
  "moderation": {
    "enabled": true,
    "categories": [
      {
        "category": "pornography",
        "flagThreshold": 0.5,
        "terminateThreshold": 0.5
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

information for a network setting

enabled
boolean

This field is for enabling or disabling the video streaming feature.

moderation
object

This field is for moderation configuration.

Response

Video Streaming setting check configuration

Response for video streaming setting

enabled
boolean

This field is for enabling or disabling the video streaming feature.

moderation
object

This field is for moderation configuration.