> 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/asset/_settype.md).

# \_setType

Sets the Asset Type.

### Parameters

#### id

The ID of the Asset.

#### value

The new Asset type you wish to set.

### Example

```
FM_api('Asset_setType', ['id' => '123', 'val' => '1']);
```

### Result

#### On Success

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