POST
/
vehicles
/
{id}
/
{make}
/
climate
/
defroster
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"}'
{
  "status": "START"
}
This endpoint is currently available for tesla

Permission

control_climate

Request

Path
id
string
required
The vehicle ID of the vehicle you are making a request to.
make
string
required
The make of the vehicle you are making a request to.
Body
action
string
required
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"
}