# \_setName

Sets the name of a chosen Skill.

### Parameters

#### id

The ID of the Skill you wish to rename.

#### name

The new name which the chosen Skill will go by.

### Example

```
FM_api('Skill_setName',[
		'id'=>'12345',
		'name'=>'New Name'
	]
);
```

### Results

#### On Success

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

#### On Failure

If the "id" parameter is not set or has an integer value less than 1:

```
{'error':'missing or invalid parameter: id'}
```

If the "name" parameter is not set or empty:

```
{'error':'missing or invalid parameter: name'}
```

If the "name" parameter is over 100 characters long:

```
{'error':'parameter too long: name'}
```
