---
title: "PUT /asset/:id"
method: PUT
path: "/asset/:id"
tags: ["asset"]
---

# PUT /asset/:id

`PUT /asset/:id`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `id` integer, required

## Request body

- ModelAsset
  - `access_auth` ModelAccessAuth
    - `allow` boolean
    - `cmd_ids` integer[]
    - `end` string
    - `ranges` ModelRange[]
      - `times` string[]
      - `week` integer
    - `start` string
  - `access_time_control` ModelAccessTimeControl
    - `comment` string: Description of the time restriction
    - `enabled` boolean
    - `time_ranges` ModelTimeRange[]
      - `end_time` string
      - `start_time` string
      - `weekdays` integer[]
    - `timezone` string: e.g., "Asia/Shanghai"
  - `asset_command_control` ModelAssetCommandControl
    - `cmd_ids` integer[]: Command IDs to control
    - `comment` string: Description of the command restriction
    - `enabled` boolean
    - `template_ids` integer[]: Command template IDs
  - `authorization` ModelAuthorizationMap
  - `comment` string
  - `connectable` boolean
  - `created_at` string
  - `creator_id` integer
  - `gateway_id` integer
  - `id` integer
  - `ip` string
  - `name` string
  - `node_chain` string
  - `parent_id` integer
  - `permissions` string[]
  - `protocols` string[]
  - `resource_id` integer
  - `updated_at` string
  - `updater_id` integer
  - `web_config` ModelWebConfig
    - `access_policy` string: full_access, read_only
    - `auth_mode` string: none, smart, manual
    - `login_accounts` ModelWebLoginAccount[]: Web login credentials
      - `is_default` boolean
      - `password` string
      - `status` string: active, inactive
      - `username` string
    - `proxy_settings` ModelWebProxySettings
      - `allowed_methods` string[]: Allowed HTTP methods
      - `blocked_paths` string[]: Blocked URL paths
      - `max_concurrent` integer: Max concurrent connections
      - `recording_enabled` boolean: Enable session recording
      - `watermark_enabled` boolean: Enable watermark

## Response `200`

OK

- ControllerHttpResponse
  - `code` integer
  - `data` unknown
  - `message` string

---

[API](https://skmtc.dev/veops/apis/veops-oneterm-api.md) - [All operations](https://skmtc.dev/veops/apis/veops-oneterm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/veops/apis/veops-oneterm-api/revisions/bd0569ff0157?raw)
