Skip to main content
POST
/
noise_sensors
/
noise_thresholds
/
update
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,
});

/*
// void
*/
{
  "action_attempt": {
    "action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "result": {},
    "error": {
      "type": "<string>",
      "message": "<string>"
    }
  },
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
device_id
string<uuid>
required

ID of the device that contains the noise threshold that you want to update.

noise_threshold_id
string<uuid>
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<float>

Noise level in decibels for the noise threshold.

noise_threshold_nrs
number<float>

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.

sync
boolean
default:false

Response

OK

action_attempt
object
required

Tracks the progress of this operation. Poll using the action_attempt_id.

ok
boolean
required