Update settings
This endpoint is used to update settings.
GEThttps://api.100ms.live/v2/templates/<template_id>/settings
curl --location --request POST 'https://api.100ms.live/v2/<template_id>/settings' \ --header 'Authorization: Bearer <management_token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "region": "eu", "subscribeDegradation": {}, "recording": { "enabled": true, "upload": { "type": "s3", "location": "<Name of the AWS s3 bucket>", "prefix": "<Upload prefix path>", "options": { "region": "<region of the s3 bucket>" }, "credentials": { "key": "<access key ID for the AWS account/S3 bucket>", "secretKey": "<secret access key for the AWS account/S3 bucket>" } } }, "screenSimulcastLayers": {}, "videoSimulcastLayers": {}, "roomState": { "messageInterval": 5, "sendPeerList": false, "stopRoomStateOnJoin": true, "enabled": false } }'
RESPONSE
Status: 200 OK
{ "region": "eu", "subscribeDegradation": {}, "screenSimulcastLayers": {}, "videoSimulcastLayers": {}, "recording": { "enabled": true, "upload": { "location": "<Name of the AWS s3 bucket>", "type": "s3", "prefix": "<Upload prefix path>", "credentials": { "key": "<access key ID for the AWS account/S3 bucket>", "secret": "<secret access key for the AWS account/S3 bucket>" }, "options": { "region": "<region of the s3 bucket>" } } }, "roomState": { "messageInterval": 5, "sendPeerList": false, "stopRoomStateOnJoin": true, "enabled": false }, "retry": {} }
Arguments
Name | Type | Description | Required |
---|---|---|---|
template_id — path param | string | Unique identifier of the template you wish to update settings details for. Example: 6316d5ca5a2635a5849a0216 | Yes |
settingsObject | object | Settings object corresponding to the given template_id. check the settings object arguments section for the list of arguments supported | Yes |