---
title: "Patch a card template (member+)"
method: PATCH
path: "/api/workspaces/{workspace_id}/card-templates/{template_key}"
tags: ["card-templates"]
---

# Patch a card template (member+)

`PATCH /api/workspaces/{workspace_id}/card-templates/{template_key}`

## Request

- Base URL: `https://api.hillstar.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hillstar.ai/api/workspaces/{workspace_id}/card-templates/{template_key}`
- Auth: none declared

## Path parameters

- `workspace_id` integer, required: Workspace ID
- `template_key` string, required: Template key

## Request body

- CardTemplateUpdate
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `ai_mode` string
  - `label` string

## Response `200`

OK

- CardTemplateRead
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `ai_mode` string, required
  - `created_at` string, date-time, required
  - `id` integer, required
  - `label` string, required
  - `template_key` string, required
  - `updated_at` string, date-time, required
  - `workspace_id` integer, required

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/hillstar/apis/rfpai-api-go.md) - [All operations](https://skmtc.dev/hillstar/apis/rfpai-api-go/llms.txt) - [OpenAPI document](https://skmtc.dev/hillstar/apis/rfpai-api-go/revisions/b2532dc47fc6?raw)
