> 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-identifier.md).

# Remove keys from identifier

## Export

```lua
exports["vehicles_keys"]:removeKeysFromIdentifier(identifier, plate)
```

### Parameters

| Name         | Data Type | Description                  |
| ------------ | --------- | ---------------------------- |
| `identifier` | string    | The target player identifier |
| `plate`      | string    | The vehicle plate            |

## Example

```lua
RegisterNetEvent("garage:vehicleDeleted", function(playerId, plate)
    local xPlayer = ESX.GetPlayerFromId(playerId)
    local identifier = xPlayer.identifier

    exports["vehicles_keys"]:removeKeysFromIdentifier(identifier, plate)
end)
```
