curl --request PUT \
--url https://api.example.com/v1/devices/{id}/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"upload": {
"mode": "<string>",
"streaming_enabled": true,
"upload_delay_minutes": 123,
"daily_data_limit_mb": 123,
"allow_roaming": true,
"pause_on_low_battery": true,
"off_peak_hours": {
"enabled": true,
"start": "<string>",
"end": "<string>",
"timezone": "<string>"
}
},
"audio": {
"codec": "<string>",
"sample_rate_khz": 123,
"bitrate_kbps": 123
},
"power": {
"auto_sleep_minutes": 123,
"low_battery_threshold_percent": 123
}
}
'