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
*/{}Schedules
Update a Thermostat Schedule
Updates a specified thermostat schedule.
PATCH
/
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
*/{}Authorizations
client_sessionpat_with_workspaceconsole_session_with_workspaceapi_key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
ID of the thermostat schedule that you want to update.
Key of the climate preset to use for the thermostat schedule.
Minimum string length:
1Indicates 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.
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 > 0Name of the thermostat schedule.
Response
OK
The response is of type object.
Was this page helpful?