Delete a Climate Preset
Deletes a specified climate preset for a specified thermostat.
Deletes a specified climate preset for a specified thermostat.
Code:
await seam.thermostats.deleteClimatePreset({
device_id: "88cb2f5b-b01b-43f2-b84f-81e2fa1d09c5",
climate_preset_key: "Eco",
});Output:
// voidDeletes a specified climate preset for a specified thermostat.
Code:
curl --include --request POST "https://connect.getseam.com/thermostats/delete_climate_preset" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "88cb2f5b-b01b-43f2-b84f-81e2fa1d09c5",
"climate_preset_key": "Eco"
}
EOFOutput:
{}Deletes a specified climate preset for a specified thermostat.
Code:
seam.thermostats.delete_climate_preset(
device_id="88cb2f5b-b01b-43f2-b84f-81e2fa1d09c5", climate_preset_key="Eco"
)Output:
NoneDeletes a specified climate preset for a specified thermostat.
Code:
seam.thermostats.delete_climate_preset(
device_id: "88cb2f5b-b01b-43f2-b84f-81e2fa1d09c5",
climate_preset_key: "Eco",
)Output:
nilDeletes a specified climate preset for a specified thermostat.
Code:
$seam->thermostats->delete_climate_preset(
device_id: "88cb2f5b-b01b-43f2-b84f-81e2fa1d09c5",
climate_preset_key: "Eco"
);Output:
Deletes a specified climate preset for a specified thermostat.
Code:
seam thermostats delete-climate-preset --device_id "88cb2f5b-b01b-43f2-b84f-81e2fa1d09c5" --climate_preset_key "Eco"Output:
{}Request Parameters
climate_preset_key String (Required)
Climate preset key of the climate preset that you want to delete.
device_id String (Required)
ID of the thermostat device for which you want to delete a climate preset.
Response
void
Last updated
Was this helpful?

