---
title: "Update asset attributes. (add)"
method: PUT
path: "/skynet/asset/{id}/attributes"
tags: ["Tracking_Asset"]
---

# Update asset attributes. (add)

`PUT /skynet/asset/{id}/attributes`

## Query parameters

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

## Request body

- object
  - `attributes` object, required — attributes can be used to add any useful information or context to your assets like the vehicle type, shift timing etc. These attributes can also be used to filter assets in **Search**, **Monitor**, and *Get Asset List* queries. Provide the attributes to be added or updated, in key:value format. If an existing key is provided in the input, then the value will be modified as per the input value. If a new key is provided in the input, then the key would be added to the existing set. The contents of any value field are neither altered nor removed unless specifically referred to by its key in the input request. Please note that the maximum number of key:value pairs that can be added to an attributes object is 100. Also, the overall size of attributes object should not exceed 65kb.

## Response `200`

- 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.

---

[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)
