---
title: "Lock/Unlock Vehicle"
method: POST
path: "/vehicles/{vehicle_id}/security"
tags: ["Vehicles"]
---

# Lock/Unlock Vehicle

`POST /vehicles/{vehicle_id}/security`

__Description__

Unlock the vehicle

__Permission__

`control_security`

__Response body__

|  Name 	|Type   	|Boolean   	|
|---	|---	|---	|
|  status|   string|  If the request is successful, Smartcar will return “success” (HTTP 200 status).|

## Request body

- SecurityAction
  - `action` 'LOCK' | 'UNLOCK'

## Response `200`

return Compatibility

- SuccessResponse
  - `status` 'SUCCESS' | 'FAILED'
  - `message` string, nullable

---

[API](https://skmtc.net/smartcar/apis/smartcar-api.md) · [All operations](https://skmtc.net/smartcar/apis/smartcar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartcar/smartcar-api/versions/2101455240dc/schema)
