Update a Noise Threshold
Updates a noise threshold for a noise sensor.
Updates a noise threshold for a noise sensor.
Code:
await seam.noiseSensors.noiseThresholds.update({
noise_threshold_id: "2cb09850-4962-4dee-a658-d8a79fcb9aff",
device_id: "c3885398-6794-44a0-a7a2-1f39ff454dc3",
name: "My Updated Noise Sensor",
starts_daily_at: "2025-06-18T15:13:17.000Z",
ends_daily_at: "2025-06-17T21:33:58.000Z",
noise_threshold_decibels: 50,
noise_threshold_nrs: 40,
});Output:
// voidUpdates a noise threshold for a noise sensor.
Code:
curl --include --request POST "https://connect.getseam.com/noise_sensors/noise_thresholds/update" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"noise_threshold_id": "2cb09850-4962-4dee-a658-d8a79fcb9aff",
"device_id": "c3885398-6794-44a0-a7a2-1f39ff454dc3",
"name": "My Updated Noise Sensor",
"starts_daily_at": "2025-06-18T15:13:17.000Z",
"ends_daily_at": "2025-06-17T21:33:58.000Z",
"noise_threshold_decibels": 50,
"noise_threshold_nrs": 40
}
EOFOutput:
{}Updates a noise threshold for a noise sensor.
Code:
seam.noise_sensors.noise_thresholds.update(
noise_threshold_id="2cb09850-4962-4dee-a658-d8a79fcb9aff",
device_id="c3885398-6794-44a0-a7a2-1f39ff454dc3",
name="My Updated Noise Sensor",
starts_daily_at="2025-06-18T15:13:17.000Z",
ends_daily_at="2025-06-17T21:33:58.000Z",
noise_threshold_decibels=50,
noise_threshold_nrs=40,
)Output:
NoneUpdates a noise threshold for a noise sensor.
Code:
seam.noise_sensors.noise_thresholds.update(
noise_threshold_id: "2cb09850-4962-4dee-a658-d8a79fcb9aff",
device_id: "c3885398-6794-44a0-a7a2-1f39ff454dc3",
name: "My Updated Noise Sensor",
starts_daily_at: "2025-06-18T15:13:17.000Z",
ends_daily_at: "2025-06-17T21:33:58.000Z",
noise_threshold_decibels: 50,
noise_threshold_nrs: 40,
)Output:
nilUpdates a noise threshold for a noise sensor.
Code:
$seam->noise_sensors->noise_thresholds->update(
noise_threshold_id: "2cb09850-4962-4dee-a658-d8a79fcb9aff",
device_id: "c3885398-6794-44a0-a7a2-1f39ff454dc3",
name: "My Updated Noise Sensor",
starts_daily_at: "2025-06-18T15:13:17.000Z",
ends_daily_at: "2025-06-17T21:33:58.000Z",
noise_threshold_decibels: 50,
noise_threshold_nrs: 40
);Output:
Updates a noise threshold for a noise sensor.
Code:
seam noise-sensors noise-thresholds update --noise_threshold_id "2cb09850-4962-4dee-a658-d8a79fcb9aff" --device_id "c3885398-6794-44a0-a7a2-1f39ff454dc3" --name "My Updated Noise Sensor" --starts_daily_at "2025-06-18T15:13:17.000Z" --ends_daily_at "2025-06-17T21:33:58.000Z" --noise_threshold_decibels 50 --noise_threshold_nrs 40Output:
{}Request Parameters
device_id String (Required)
ID of the device that contains the noise threshold that you want to update.
noise_threshold_id String (Required)
ID of the noise threshold that you want to update.
ends_daily_at String
Time at which the noise threshold should become inactive daily.
name String
Name of the noise threshold that you want to update.
noise_threshold_decibels Number
Noise level in decibels for the noise threshold.
noise_threshold_nrs Number
Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for Noiseaware sensors.
starts_daily_at String
Time at which the noise threshold should become active daily.
Response
void
Last updated
Was this helpful?

