---
title: "PUT /api/attachment-templates/preference"
method: PUT
path: "/api/attachment-templates/preference"
tags: ["Attachment Templates"]
---

# PUT /api/attachment-templates/preference

`PUT /api/attachment-templates/preference`

## Request body

- object
  - `attachmentTemplateId` string, nullable, required

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `attachmentTemplateId` string, nullable, required

## Other responses

- `401` — Default Response

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-08-31** `97e51f27dc77` — 2 breaking, 2 info
  - request property `attachmentTemplateId` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the response property `data/attachmentTemplateId` became nullable for the status `200`
  - the request property `attachmentTemplateId` became nullable
  - response property `data/attachmentTemplateId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/attachment-templates/preference/put.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) · [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/97e51f27dc77/schema)
