POST

/v2.0/vehicles/{id}/{make}/climate/defroster

This endpoint is currently available for TESLA

Permission

control_climate

Request

Path

idrequired
string

The vehicle id of the vehicle you are making a request to.

makerequired
string

The make of the vehicle you are making a request to.

Body

actionrequired
string

Indicate whether to start or stop defrosting the vehicle. Options: START or STOP

curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/climate/defroster" \
-H "Authorization: Bearer {token}" \
-X "POST" \
-H "Content-Type: application/json" \
-d '{"action" : "STOP"}'

Response

status
string

If the request is successful, Smartcar will return status containing the action sent to the climate defroster system of the vehicle.

{
  "status": "START"
}