> 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/assettype/_seturl.md).

# \_setUrl

Set the Url for an Asset Type.

### Parameters

#### id

The ID of the Asset which is Url will be set for.

#### id

The Url to be set for the Asste Type.

### Example

```
FM_api('AssetType_setUrl', ['id' => '10', 'val' => 'www.fieldmotion.com']);
```

### Result

#### On Success

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