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

# PUT /time_template/:id

`PUT /time_template/:id`

## Request

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

## Path parameters

- `id` integer, required

## Request body

- ModelTimeTemplate
  - `category` string: work, maintenance, emergency, etc.
  - `created_at` string
  - `creator_id` integer
  - `description` string
  - `id` integer
  - `is_active` boolean
  - `is_builtin` boolean: Status and metadata
  - `name` string
  - `resource_id` integer: Standard fields
  - `time_ranges` ModelTimeRange[]: Time configuration
    - `end_time` string
    - `start_time` string
    - `weekdays` integer[]
  - `timezone` string
  - `updated_at` string
  - `updater_id` integer
  - `usage_count` integer: Usage statistics

## 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/time_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)
