# \_setName

Set the name for a given department

### Parameters

#### id

The ID of the department which will have the name set.

#### val

The name you wish to set for the department

### Example

```
FM_api('Department_setName', ['id' => '4', 'val' => 'plumbing'])
```

#### On Success

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