# Update Asset VIA API

**URL:** <https://community.servicem8.com/t/update-asset-via-api/817>\
**Category:** API & SDK\
**Created:** [November 5, 2019, 7:28am UTC](https://community.servicem8.com/t/update-asset-via-api/817 "2019-11-05T07:28:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://community.servicem8.com/u/developer)\
**Post date:** [November 5, 2019, 7:28am UTC](https://community.servicem8.com/t/update-asset-via-api/817/1 "2019-11-05T07:28:13Z")

</div>

**Originally posted by Peter**

I have tried to use the ServiceM8 API listed below and it never works. Always returns cannot create Asset VIA API but I am not creating an asset.

> **[List all Allocation Windows](https://developer.servicem8.com/reference/listallocationwindows)**
>
> Filtering
> This endpoint supports result filtering. For more information on how to filter this request, go here .
> OAuth Scope
> This endpoint requires the following OAuth scope read\_schedule .

Can anyone else get the above API call to work???
