Path Parameters
AppID in which the extension has to be enabled/disabled
Body
application/json
Response
200 - application/json
Update Video broadcasting Settings
curl --request PUT \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/broadcast/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "apiVideoKey": "1q6Re9CYAAfzLZyB8F4eMNX0Pslyv222",
    "recordVideo": false
  }
}'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "apiVideoKey": "1q6Re9CYAAfzLZyB8F4eMNX0Pslyv222",
          "recordVideo": false
        }
      }
    }
  }
}Video Broadcasting : Update the settings for Video Broadcasting extension.
curl --request PUT \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/broadcast/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "apiVideoKey": "1q6Re9CYAAfzLZyB8F4eMNX0Pslyv222",
    "recordVideo": false
  }
}'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "apiVideoKey": "1q6Re9CYAAfzLZyB8F4eMNX0Pslyv222",
          "recordVideo": false
        }
      }
    }
  }
}AppID in which the extension has to be enabled/disabled
Show child attributes
Update Video broadcasting Settings
Show child attributes
Was this page helpful?