---
title: "Ativar/Desativar Template"
method: PATCH
path: "/api/v2/templates/1"
tags: ["Templates"]
---

# Ativar/Desativar Template

`PATCH /api/v2/templates/1`

Ativa ou desativa um template.

**Autenticação:** token de **cliente**.

**Campo:** `active` (booleano, obrigatório).

**Sucesso:** `200` `{ "message": "Template activated successfully" }` (ou `deactivated`).

**Erros:** `400` id inválido / `active` ausente, `404` template não encontrado, `409` limite de 10 templates ativos ao reativar.

## Request body

- object

## Response `200`

Successful response

---

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