---
title: "Set template for collection"
method: POST
path: "/collections/template"
tags: ["Collections", "Templates"]
---

# Set template for collection

`POST /collections/template`

Set template for all projects in a collection

## Request body

- TemplateForCollection
  - `collection_id` integer
  - `template_uid` string
  - `project_type` string — survey, timeseries, table, document, geospatial, ...

## Response `200`

successful operation

---

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