---
title: "Update Template"
method: PUT
path: "/v1/templates/{template_id}"
tags: ["templates"]
---

# Update Template

`PUT /v1/templates/{template_id}`

Update a template.

## Path parameters

- `template_id` string, uuid, required

## Request body

- TemplateUpdate
  - `name` string, required — Name of the template
  - `description` string, nullable — Description of the template
  - `picture` string, nullable — Logo of the template

## Response `200`

Successful Response

- Template
  - `id` string, uuid, required
  - `name` string, required — Name of the template
  - `org_id` string, uuid, nullable — ID of the organization the template belongs to
  - `picture` string, nullable — Image URL of the template
  - `description` string, nullable — Description of the tempalte
  - `visibility` string, required — Visibility of the template (e.g., 'public', 'private')
  - `category` string, nullable, required — Category of the template (e.g., 'featured', 'private')
  - `is_active` boolean — Whether the template is active
  - `submitted` boolean — Whether the template is submitted as a public template
  - `added_on` string, date-time — The creation timestamp of the template
  - `settings` object, nullable — Template settings
  - `conversations` object[], nullable — List of conversations in the template
  - `datasources` object[], nullable — List of datasources in the template
  - `collections` object[], nullable — List of collections in the template

## Other responses

- `422` — Validation Error

---

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