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

// void
Authentication Methods
  • API key

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

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?