Skip to main content
POST
/
thermostats
/
schedules
/
update
await seam.thermostats.schedules.update({
  thermostat_schedule_id: "f29b8f4d-ef6e-4219-96e5-16fb2151ec6c",
  name: "Jane's Stay",
  climate_preset_key: "Occupied",
  max_override_period_minutes: 90,
  starts_at: "2025-06-20T03:24:25.000Z",
  ends_at: "2025-06-22T06:04:21.000Z",
  is_override_allowed: true,
});

/*
// void
*/
{
  "ok": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json
thermostat_schedule_id
string<uuid>
required

ID of the thermostat schedule that you want to update.

climate_preset_key
string

Key of the climate preset to use for the thermostat schedule.

ends_at
string

Date and time at which the thermostat schedule ends, in ISO 8601 format.

is_override_allowed
boolean

Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also Specifying Manual Override Permissions.

max_override_period_minutes
integer | null

Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also Specifying Manual Override Permissions.

Required range: x > 0
name
string

Name of the thermostat schedule.

starts_at
string

Date and time at which the thermostat schedule starts, in ISO 8601 format.

Response

OK

ok
boolean
required