---
title: "Update Entity Template"
method: PUT
path: "/v1/templates/{id}"
tags: ["Entity Templates"]
---

# Update Entity Template

`PUT /v1/templates/{id}`

## Path parameters

- `id` string, required

## Request body

- RepoEntityTemplateUpdate
  - `defaultDescription` string, nullable
  - `defaultInsured` boolean
  - `defaultLifetimeWarranty` boolean
  - `defaultLocationId` string, nullable — Default location and tags
  - `defaultManufacturer` string, nullable
  - `defaultModelNumber` string, nullable
  - `defaultName` string, nullable
  - `defaultQuantity` number, nullable — Default values for entities
  - `defaultTagIds` string[], nullable
  - `defaultWarrantyDetails` string, nullable
  - `description` string
  - `fields` RepoTemplateField[] — Custom fields
    - `booleanValue` boolean
    - `id` string
    - `name` string
    - `numberValue` integer
    - `textValue` string
    - `timeValue` string
    - `type` string
  - `id` string
  - `includePurchaseFields` boolean
  - `includeSoldFields` boolean
  - `includeWarrantyFields` boolean — Metadata flags
  - `name` string, required
  - `notes` string

## Response `200`

OK

- RepoEntityTemplateOut
  - `createdAt` string
  - `defaultDescription` string
  - `defaultInsured` boolean
  - `defaultLifetimeWarranty` boolean
  - `defaultLocation` RepoTemplateLocationSummary
    - `id` string
    - `name` string
  - `defaultManufacturer` string
  - `defaultModelNumber` string
  - `defaultName` string
  - `defaultQuantity` number — Default values for entities
  - `defaultTags` RepoTemplateTagSummary[]
    - `id` string
    - `name` string
  - `defaultWarrantyDetails` string
  - `description` string
  - `fields` RepoTemplateField[] — Custom fields
    - `booleanValue` boolean
    - `id` string
    - `name` string
    - `numberValue` integer
    - `textValue` string
    - `timeValue` string
    - `type` string
  - `id` string
  - `includePurchaseFields` boolean
  - `includeSoldFields` boolean
  - `includeWarrantyFields` boolean — Metadata flags
  - `name` string
  - `notes` string
  - `updatedAt` string

---

[API](https://skmtc.net/sysadminsmedia/apis/homebox-api.md) · [All operations](https://skmtc.net/sysadminsmedia/apis/homebox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sysadminsmedia/homebox-api/revisions/f19934d1b3ab/schema)
