---
title: "Update a confirmation template for this regulated entity"
method: PUT
path: "/api-regulated/v1/confirmation-templates/{id}"
tags: ["ConfirmationTemplate"]
---

# Update a confirmation template for this regulated entity

`PUT /api-regulated/v1/confirmation-templates/{id}`

## Request

- Base URL: `https://api.currencyguard.com`
- URL: `https://api.currencyguard.com/api-regulated/v1/confirmation-templates/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- ConfirmationTemplateDTOUpdate: Schema for representing a ConfirmationTemplate
  - `id` string, uuid: Unique template identifier
  - `documentType` string: Document type
  - `regulatedEntityId` string, uuid: Regulated entity ID — NULL means default template
  - `templateName` string: Human-readable template name
  - `templateBody` string: HTML template body with variable placeholders
  - `effectiveFrom` string: Date from which this template version is effective
  - `eventSequence` integer: Event sequence number for event-driven processing
  - `versionNumber` integer: Optimistic locking version number
  - `updatedBy` string: User who last updated this record
  - `updatedAt` string: Timestamp of last update in UTC
  - `createdAt` string: Timestamp of creation in UTC

## Response `200`

Template updated

## Other responses

- `400`: Invalid request — [`http/malformed-request`](/problems/http/malformed-request/)
- `401`: Not authenticated — [`security/authentication-failed`](/problems/security/authentication-failed/)
- `403`: Not authorized — [`security/insufficient-permissions`](/problems/security/insufficient-permissions/)
- `404`: Template not found — [`http/resource-not-found`](/problems/http/resource-not-found/)

---

[API](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external.md) · [All operations](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/llms.txt) · [OpenAPI document](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/revisions/a1f3f854190d?raw)
