---
title: "Update an Asset"
method: POST
path: "/asset/{uuid}.json"
tags: ["Assets"]
---

# Update an Asset

`POST /asset/{uuid}.json`

#### OAuth Scope
This endpoint requires the following OAuth scope **manage_assets**.

## Path parameters

- `uuid` string, uuid, required

## Request body

- AssetCreate
  - `uuid` string, uuid — Unique identifier for this record
  - `company_uuid` string, uuid — UUID of the Client to which this Asset is attached
  - `name` string — User-facing description of this asset
  - `lat` number, float — Latitude component of the Asset's location in degrees
  - `lng` number, float — Longitude component of the Asset's location in degrees
  - `geo_timestamp` string — Timestamp at which the Asset's location was last updated
  - `altitude` number — Altitude component of the Asset's location in metres
  - `field_data` object[] — JSON array containing field values for this asset. Each entry represents a field value defined by the associated AssetType, with field values stored as strings. Date fields use Y-m-d format. This field stores all custom fields defined in the asset type template.
    - `uuid` string, uuid, required — Must be the UUID of an AssetTypeField
    - `fieldType` string, required
    - `fieldName` string, required
    - `fieldValue` string, required — Convert all values to string. Dates shall be in Y-m-d format.
    - `sortOrder` number, required

## Response `200`

Success - The record was updated successfully

- Result
  - `errorCode` number
  - `message` string

## Other responses

- `400` — Bad Request - The request is malformed or contains invalid parameters
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - You don't have permission to update this resource
- `404` — Not Found - The record to update does not exist or has been deleted
- `429` — Too Many Requests - You have exceeded the rate limit
- `500` — Internal Server Error - An unexpected error occurred on the server

## Changes

- **2025-09-12** `638a8df09bf4` — 3 warning
  - removed the request property `active`
  - removed the request property `asset_code`
  - removed the request property `asset_type_uuid`
- **2025-08-14** `ca9b053c4373` — 5 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - …1 more

[Change history](https://skmtc.dev/servicem8/apis/servicem8-api/changes/asset/:uuid.json/post.md)

---

[API](https://skmtc.dev/servicem8/apis/servicem8-api.md) · [All operations](https://skmtc.dev/servicem8/apis/servicem8-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/servicem8/servicem8-api/revisions/53ede60e3653/schema)
