> 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/account/_setname.md).

# \_setName

Name of the Account

### Parameters

#### id

The id of the account

#### val

Value for the Account's Nominal Code

### Example

```
$params=[
  'id'=>$account['id'],
  'val'=>'9'
];
(FM_api('Account_setName', $params), true);
```

### Result

On success

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