---
title: "Update an Asset"
method: PUT
path: "/skynet/asset/{id}"
tags: ["Tracking_Asset"]
---

# Update an Asset

`PUT /skynet/asset/{id}`

## Path parameters

- `id` string, required

## Query parameters

- `key` string, 32 character alphanumeric string, required

## Request body

- DtoUpdateAssetReq
  - `description` string — Use this param to update the description of an asset.
  - `meta_data` MetaData — Any valid json object data. Can be used to save customized data. Max size is 65kb.
  - `name` string — Use this param to update the name of an asset. Users can assign meaningful custom names to their assets.
  - `tags` string[] — **This parameter will be deprecated soon! Please use the attributes parameter to add labels or markers for the asset.** Use this param to update the tags of an asset. tags can be used to filter asset in *Get Asset List*, **Search** and **Monitor** queries.
  - `attributes` object — Use this param to update the attributes of an asset in key:value format. Users can maintain any useful information or context about the assets by utilising this parameter. Please be careful when using this parameter while updating an asset as the new attributes object provided will completely overwrite the old attributes object. Use the *Update Asset Attributes* method to add new or modify existing attributes. Another point to note is that the overall size of the attributes object cannot exceed 65kb and the maximum number of key:value pairs that can be added to this object is 100.

## Response `200`

OK

- DtoSimpleResp
  - `message` string — Displays the error message in case of a failed request. If the request is successful, this field is not present in the response.
  - `status` string — A string indicating the state of the response. On successful responses, the value will be Ok. Indicative error messages are returned for different errors. See the [API Error Codes](#api-error-codes) section below for more information.

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/nextbillion-ai/apis/one-spec-service.md) · [All operations](https://skmtc.net/nextbillion-ai/apis/one-spec-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nextbillion-ai/one-spec-service/versions/b647f1808dda/schema)
