# \_setReg

Set the Registration for a Vehicle.

### Parameters

#### id

The ID of the Vehicle.

#### val

The Vehicle Registration to be set for the vehicle.

### Example

```
FM_api('Vehicle_setReg', ['id' => '123', 'val' => 'KF15SZY']);
```

### Result

#### On Success

```
{'ok':1}
```
