# \_setName

Edit the name of an existing Asset Maintenance

### Parameters

#### id

The ID of the Asset Maintenance you wish to set the name for.

#### val

The name you wish to set for the Asset Maintenance.

### Example

```
FM_api('AssetMaintenance_setName', ['id' => '15', 'val' => 'Service'])
```

### Result

If the Asset name is successfully updated, the result will be:

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