Delete a Thermostat Schedule
POST /thermostats/schedules/delete ⇒ voidDeletes a thermostat schedule for a specified thermostat.
Request
await seam.thermostats.schedules.delete({
thermostat_schedule_id: "89d3507e-60e3-4101-bd1b-ba066ec30ad4",
});Response
// voidRequest
seam.thermostats.schedules.delete(
thermostat_schedule_id="89d3507e-60e3-4101-bd1b-ba066ec30ad4"
)Response
NoneRequest
seam.thermostats.schedules.delete(thermostat_schedule_id: "89d3507e-60e3-4101-bd1b-ba066ec30ad4")Response
nilRequest
<?php
$seam->thermostats->schedules->delete(
thermostat_schedule_id: "89d3507e-60e3-4101-bd1b-ba066ec30ad4"
);Response
nullRequest
seam thermostats schedules delete --thermostat_schedule_id "89d3507e-60e3-4101-bd1b-ba066ec30ad4"Response
{}Request
package main
import api "github.com/seamapi/go"
import schedules "github.com/seamapi/go/schedules"
func main() {
client.Thermostats.Schedules.Delete(
context.Background(),
schedules.SchedulesDeleteRequest{
ThermostatScheduleId: api.String("89d3507e-60e3-4101-bd1b-ba066ec30ad4"),
},
)
}Response
nilAuthentication Methods
API key
Client session token
Personal access token Must also include the
seam-workspaceheader in the request.
Request Parameters
thermostat_schedule_id
thermostat_schedule_idType: string Required: Yes
ID of the desired thermostat schedule.
Return Type
void
Last updated
Was this helpful?

