# \_setName

Set the Name for an Asset Type.

### Parameters

#### id

The ID of the Asset Type which the name will be changed for.

#### val

The new Name for the Asset Type which will be changed.

### Example

```
FM_api('AssetType_setName', ['id' => '10', 'val' => 'New Name']);
```

### Result

#### On Success

```
{"ok":1}
```
