Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
device_id
string<uuid>
required

ID of the thermostat device for which you want to update the weekly program.

friday_program_id
string<uuid> | null

ID of the thermostat daily program to run on Fridays.

monday_program_id
string<uuid> | null

ID of the thermostat daily program to run on Mondays.

saturday_program_id
string<uuid> | null

ID of the thermostat daily program to run on Saturdays.

sunday_program_id
string<uuid> | null

ID of the thermostat daily program to run on Sundays.

thursday_program_id
string<uuid> | null

ID of the thermostat daily program to run on Thursdays.

tuesday_program_id
string<uuid> | null

ID of the thermostat daily program to run on Tuesdays.

wednesday_program_id
string<uuid> | null

ID of the thermostat daily program to run on Wednesdays.

Response

OK

action_attempt
object
required

Tracks the progress of this operation. Poll using the action_attempt_id. See the action_attempt object.