---
title: "Output Template"
method: POST
path: "/api/manageTemplate/outputTemplate"
tags: ["Manage Template"]
---

# Output Template

`POST /api/manageTemplate/outputTemplate`

## Request body

- OutputTemplateDto
  - `templateDir` string, required — The template directory name

## Response `200`

Output Template Successfully.

- boolean

## Other responses

- `400` — Output Template Failed.

## Changes

- **2026-05-03** `bbf6d8196a6d` — 1 breaking, 2 warning, 1 info
  - added the new required request property `templateDir`
  - removed the request property `outPath`
  - removed the request property `sourceDir`
  - added the media type `application/json` for the response with the status `200`
- **2026-05-03** `b5587d3b83c9` — 1 info
  - endpoint added
- **2026-02-06** `3f56dc87eb82` — 1 info
  - endpoint added
- **2025-09-20** `2911d2db6a21` — 1 breaking
  - api path removed without deprecation
- **2023-10-20** `bbfe1dbc457f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/openwebgal/apis/webgal-terre-api/changes/api/manageTemplate/outputTemplate/post.md)

---

[API](https://skmtc.dev/openwebgal/apis/webgal-terre-api.md) · [All operations](https://skmtc.dev/openwebgal/apis/webgal-terre-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openwebgal/webgal-terre-api/revisions/ebcacb42f932/schema)
