---
title: "PUT /model-hub/prompt-templates/{id}/"
method: PUT
path: "/model-hub/prompt-templates/{id}/"
tags: ["model-hub"]
---

# PUT /model-hub/prompt-templates/{id}/

`PUT /model-hub/prompt-templates/{id}/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/prompt-templates/{id}/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- PromptTemplate
  - `id` string, uuid
  - `name` string, required
  - `description` string, nullable
  - `variable_names` object, nullable
  - `organization` string, uuid, nullable
  - `prompt_folder` string, uuid, nullable
  - `placeholders` object, nullable
  - `created_by` string, uuid, nullable

## Response `200`

OK

- PromptTemplate
  - `id` string, uuid
  - `name` string, required
  - `description` string, nullable
  - `variable_names` object, nullable
  - `organization` string, uuid, nullable
  - `prompt_folder` string, uuid, nullable
  - `placeholders` object, nullable
  - `created_by` string, uuid, nullable

## Other responses

- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
