PUT
/
user
/
{id}
curl https://api.smartcar.com/v2.0/user/<user-id> \
  -H "Authorization: Bearer {token}" \
  -X "PUT" \
  -H "Content-Type: application/json" \
  -d '{action: "SYNC"}'
{
  "vehiclesAdded": [
    "293cf238-2e68-40df-b19a-75cb2f74a54c",
    "86cc626e-6506-43f1-91e1-92e97e0bdfc3"
  ],
  "vehiclesRemoved": []
}

This feature is in beta and Smartcar is providing early access as we collect feedback about this feature. Please see this page for info on how to enable this for accounts in Connect.

Request

Query

Body

action
string

Must be set to SYNC

Response

vehiclesAdded
[vehicleIds]

An array of vehicle Ids added to the account.

vehiclesRemoved
[vehicleIds]

An array of vehicle Ids removed from the account.