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

# PUT /command_template/:id

`PUT /command_template/:id`

## Request

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

## Path parameters

- `id` integer, required

## Request body

- ModelCommandTemplate
  - `category` 'security' | 'system' | 'database' | 'network' | 'file' | 'developer' | 'custom'
  - `cmd_ids` integer[]
  - `created_at` string
  - `creator_id` integer
  - `description` string
  - `id` integer
  - `is_builtin` boolean: Built-in template
  - `name` string
  - `resource_id` integer
  - `updated_at` string
  - `updater_id` integer

## Response `200`

OK

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

## Changes

- **2025-07-16** `788529308517`: 1 info
  - endpoint added
- **2025-03-02** `f6b1c099afda`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/veops/apis/veops-oneterm-api/changes/command_template/:id/put.md)

---

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