Delete a Climate Setting Schedule

/thermostats/climate_setting_schedules/delete

POSThttps://connect.getseam.com/thermostats/climate_setting_schedules/delete
Authorization
Body
climate_setting_schedule_id*string (uuid)
Response

OK

Body
ok*boolean
Request
const response = await fetch('https://connect.getseam.com/thermostats/climate_setting_schedules/delete', {
    method: 'POST',
    headers: {
      "Authorization": "Bearer Client Session Token",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "climate_setting_schedule_id": "123e4567-e89b-12d3-a456-426614174000"
    }),
});
const data = await response.json();
Response
{
  "ok": false
}

Code Example

seam.climate_setting_schedules.delete("123e4567-e89b-12d3-a456-426614174000")

# None

Parameters

climate_setting_schedule_id

type: string

ID of the Climate Setting Schedule

Response

This section shows the JSON response returned by the API. Since each language encapsulates this response inside objects specific to that language and/or implementation, the actual type in your language might differ from what’s written here.

JSON format

{
  "ok": true
}

Last updated

Logo

Β© Seam Labs, Inc. All rights reserved.