Deletes a for a specified .
POST /thermostats/schedules/delete ⇒ void
Authentication Methods
Personal access token
Must also include the seam-workspace
header in the request.
To learn more, see .
Request Parameters
thermostat_schedule_id
String (Required)
ID of the desired thermostat schedule.
Response
void
Examples
Delete a thermostat schedule
Specify the thermostat_schedule_id
of the desired thermostat schedule.
Code
await seam.thermostats.schedules.delete({
thermostat_schedule_id: "89d3507e-60e3-4101-bd1b-ba066ec30ad4",
});
Output
Code
seam.thermostats.schedules.delete(
thermostat_schedule_id="89d3507e-60e3-4101-bd1b-ba066ec30ad4"
)
Output
Code
seam.thermostats.schedules.delete(thermostat_schedule_id: "89d3507e-60e3-4101-bd1b-ba066ec30ad4")
Output
Code
<?php
$seam->thermostats->schedules->delete(
thermostat_schedule_id: "89d3507e-60e3-4101-bd1b-ba066ec30ad4"
);
Output
Code
seam thermostats schedules delete --thermostat_schedule_id "89d3507e-60e3-4101-bd1b-ba066ec30ad4"
Output
Code
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"),
},
)
}
Output
Code
curl --include --request POST "https://connect.getseam.com/thermostats/schedules/delete" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"thermostat_schedule_id": "89d3507e-60e3-4101-bd1b-ba066ec30ad4"
}
EOF
Output