---
title: "Set or clear the applied-template marker for an account"
method: PUT
path: "/rest/api/v1/accounts/{accountId}/appliedTemplate"
tags: ["Account API"]
---

# Set or clear the applied-template marker for an account

`PUT /rest/api/v1/accounts/{accountId}/appliedTemplate`

Sets or clears the three apply-marker columns on the account (accountTemplate1, appliedTemplateRevision, appliedTemplateMeta). Pass an empty body / null templateId to clear the link.

## Path parameters

- `accountId` string, uuid, required

## Request body

- AppliedTemplateDTO — Sets or clears the link between an account and a template. Send templateId=null to unlink.
  - `meta` JsonNode — Full template payload. Includes a `schemaVersion` discriminator describing its JSON shape; older versions are migrated transparently on read.
  - `templateId` string, uuid, nullable — Template to link this account to. Send null to clear the existing link.
  - `templateRevision` integer, nullable — Revision of the template that was applied. Required when templateId is set.

## Response `204`

No Content

---

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