---
title: "Set Scheduled Departure"
method: POST
path: "/{vin}/command/set_scheduled_departure"
tags: ["Vehicle Commands"]
---

# Set Scheduled Departure

`POST /{vin}/command/set_scheduled_departure`

Sets the scheduled departure configuration.

For vehicles on 2024.26+, use [add_charge_schedule](https://developer.tessie.com/reference/add-charge-schedule) and [add_precondition_schedule](https://developer.tessie.com/reference/remove-charge-schedule) instead.

## Query parameters

- `wait_for_completion` boolean
- `max_attempts` integer
- `enable` boolean, required
- `departure_time` number, required
- `preconditioning_enabled` boolean
- `preconditioning_weekdays_only` boolean
- `off_peak_charging_enabled` boolean
- `off_peak_charging_weekdays_only` boolean
- `end_off_peak_time` number

## Response `200`

Success

- object
  - `result` boolean — Whether the command was successful.

---

[API](https://skmtc.net/tessie/apis/tessie-api.md) · [All operations](https://skmtc.net/tessie/apis/tessie-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tessie/tessie-api/revisions/a9157f7a53a2/schema)
