Delete a Climate Preset
POST /thermostats/delete_climate_preset ⇒ voidDeletes a specified climate preset for a specified thermostat.
Request
await seam.thermostats.deleteClimatePreset({
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "occupied",
});Response
// voidRequest
seam.thermostats.delete_climate_preset(
device_id="123e4567-e89b-12d3-a456-426614174000", climate_preset_key="occupied"
)Response
NoneRequest
seam.thermostats.delete_climate_preset(
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "occupied",
)Response
nilRequest
<?php
$seam->thermostats->delete_climate_preset(
device_id: "123e4567-e89b-12d3-a456-426614174000",
climate_preset_key: "occupied"
);Response
nullRequest
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
nilAuthentication Methods
API key
Personal access token Must also include the
seam-workspaceheader in the request.
Request Parameters
climate_preset_key
climate_preset_keyType: string Required: Yes
Climate preset key of the desired climate preset.
device_id
device_idType: string Required: Yes
ID of the desired thermostat device.
Return Type
void
Last updated
Was this helpful?

