POST /thermostats/delete_climate_preset ⇒ void
Request
await seam.thermostats.deleteClimatePreset({
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "occupied",
});
Response
Request
seam.thermostats.delete_climate_preset(
device_id="123e4567-e89b-12d3-a456-426614174000", climate_preset_key="occupied"
)
Response
Request
seam.thermostats.delete_climate_preset(device_id: "123e4567-e89b-12d3-a456-426614174000", climate_preset_key: "occupied")
Response
Request
<?php
$seam->thermostats->delete_climate_preset(
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "occupied"
);
Response
Request
seam thermostats delete-climate-preset --device_id "123e4567-e89b-12d3-a456-426614174000" --climate_preset_key "occupied"
Response
Request
package main
import api "github.com/seamapi/go"
func main() {
client.Thermostats.DeleteClimatePreset(
context.Background(),
api.ThermostatsDeleteClimatePresetRequest{
DeviceId: api.String("123e4567-e89b-12d3-a456-426614174000"),
ClimatePresetKey: api.String("occupied"),
},
)
}
Response
Climate preset key of the desired climate preset.
ID of the desired thermostat device.