---
title: "Partially update asset"
method: PATCH
path: "/api/v1/assets/{asset_id}"
tags: ["assets"]
---

# Partially update asset

`PATCH /api/v1/assets/{asset_id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/assets/{asset_id}`
- Auth: none declared

Partially update an existing asset. Only provided fields are modified.

## Path parameters

- `asset_id` string, required

## Headers

- `Authorization` string

## Request body

- AssetUpdate: Schema for updating an existing asset.
  - `name` string, nullable
  - `description` string, nullable
  - `connection_config` object, nullable
  - `is_active` boolean, nullable
  - `extra_params` object, nullable

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
