POST
/
vehicles
/
{id}
/
{make}
/
pin

This endpoint is currently available for tesla

Permission

control_pin

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

pin
string
required

A four digit numeric PIN

Response

status
string

If the request is successful, Smartcar will return “success”.

message
string

If the request is successful, Smartcar will return a message.

Notes

  • Calling this endpoint will override an existing PIN on the vehicle.
  • Call DELETE PIN to Drive in order to enable this feature and set the PIN
  • Currently both owner and driver account types can set a PIN for the vehicle and enable the feature via the API.
  • Only account owners can disable this feature from the Tesla app.