v1

latestOpenAPI 3.0.32026-07-13353343.5 KB
Vehicles

Lock/Unlock Vehicle

Description

Unlock the vehicle

Permission

control_security

Response body

NameTypeBoolean
statusstringIf the request is successful, Smartcar will return “success” (HTTP 200 status).
post/vehicles/{vehicle_id}/security

Request body

action'LOCK' | 'UNLOCK'

Example request

{
  "action": "UNLOCK"
}

Response

return Compatibility

status'SUCCESS' | 'FAILED'
messagestring nullable

Example response

{
  "status": "SUCCESS"
}