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

# PATCH /model-hub/prompt-base-templates/{id}/

`PATCH /model-hub/prompt-base-templates/{id}/`

## Request

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

Partially update a prompt base template

## Request body

- PromptBaseTemplate
  - `id` string, uuid
  - `name` string, required
  - `organization` string, uuid, nullable
  - `workspace` string, uuid, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `is_sample` boolean
  - `prompt_version` string, uuid, nullable
  - `category` string, nullable
  - `prompt_config_snapshot` object, nullable
  - `created_by` string

## Response `200`

OK

- PromptBaseTemplate
  - `id` string, uuid
  - `name` string, required
  - `organization` string, uuid, nullable
  - `workspace` string, uuid, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `is_sample` boolean
  - `prompt_version` string, uuid, nullable
  - `category` string, nullable
  - `prompt_config_snapshot` object, nullable
  - `created_by` string

## 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)
