> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/jobtype/_setname.md).

# \_setName

Sets the Name of the Job type.

### Parameters

#### id

The ID of the Job Type.

#### name

The name to be set for the Job Type.

### Example

```
FM_api('JobType_setName', ['id' => '5', 'name' => 'new name'])
```

### Result

#### On Success

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