---
title: "PUT /v2.1/accounts/{accountId}/templates"
method: PUT
path: "/v2.1/accounts/{accountId}/templates"
tags: ["Templates"]
---

# PUT /v2.1/accounts/{accountId}/templates

`PUT /v2.1/accounts/{accountId}/templates`

## Path parameters

- `accountId` string, required

## Request body

- TemplateAutoMatchList
  - `templates` TemplateAutoMatch[] — An array of `templateSummary` objects that contain information about templates.
    - `autoMatch` string — By default, templates that have been used within the last 60 days are included in auto-matching. By explicitly setting `autoMatch`, you can permanently include or exclude the template in auto matching. When **true** the template is included in auto-matching regardless of when it was last used. When **false** the template is never included in auto-matching.
    - `errorDetails` ErrorDetails — This object describes errors that occur. It is only valid for responses and ignored in requests.
      - `errorCode` string — The code associated with the error condition.
      - `message` string — A brief message describing the error condition.
    - `templateId` string — The ID of the template.

## Response `200`

Successful response.

## Other responses

- `400` — Error encountered.

---

[API](https://skmtc.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/versions/77f1998c313d/schema)
