> For the complete documentation index, see [llms.txt](https://documentation.jaksam-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.jaksam-scripts.com/vehicles-keys/server/remove-keys-from-player-id.md).

# Remove keys from player ID

## Export

```lua
exports["vehicles_keys"]:removeKeysFromPlayerId(playerId, plate)
```

### Parameters

| Name       | Data Type | Description                 |
| ---------- | --------- | --------------------------- |
| `playerId` | integer   | The target player server ID |
| `plate`    | string    | The vehicle plate           |

## Example

```lua
RegisterNetEvent("garage:vehicleDeleted", function(playerId, plate)
    exports["vehicles_keys"]:removeKeysFromPlayerId(playerId, plate)
end)
```
