---
title: "POST /v1/{+parent}/templates"
method: POST
path: "/v1/{+parent}/templates"
tags: ["projects"]
---

# POST /v1/{+parent}/templates

`POST /v1/{+parent}/templates`

Creates a new Template in a given project and location.

## Path parameters

- `parent` string, required

## Query parameters

- `requestId` string
- `templateId` string

## Request body

- Template — Message describing Template resource
  - `createTime` string, google-datetime — Output only. Create time stamp
  - `format` 'TEMPLATE_FORMAT_UNSPECIFIED' | 'TEMPLATE_FORMAT_YAML' | 'TEMPLATE_FORMAT_JSON' — Optional. Specifies the format of a Template.
  - `name` string — Identifier. The resource name of the Template in the format `projects/*/locations/*/templates/*`.
  - `labels` object — Optional. Labels as key value pairs
  - `updateTime` string, google-datetime — Output only. Update time stamp

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/parametermanager.md) · [All operations](https://skmtc.net/google/apis/parametermanager/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/parametermanager/versions/cb26931ae7c5/schema)
