---
title: "Jwt Prompt Partial Update"
method: PATCH
path: "/prompts/jwt/prompt/{id}/"
tags: ["prompts"]
---

# Jwt Prompt Partial Update

`PATCH /prompts/jwt/prompt/{id}/`

PATCH handler with superadmin lock and field protection.

Checks:
1. Object lock (is_managed=True -> non-superadmins can't modify)
2. Field protection (non-superadmins can't modify specific fields)

## Path parameters

- `id` integer, required

## Headers

- `Authorization` string, required

## Request body

- PatchedPromptUpdateRequest
  - `name` string
  - `description` string
  - `prompt_slug` string, nullable
  - `starred` boolean
  - `is_example` boolean
  - `blurred` boolean
  - `deleted_at` string, date-time, nullable
  - `organization` integer
  - `project` string, nullable
  - `created_by` integer, nullable

## Response `200`

- PromptUpdate
  - `id` integer, required
  - `prompt_id` string, required
  - `name` string
  - `description` string
  - `prompt_slug` string, nullable
  - `commit_count` integer, required
  - `starred` boolean
  - `is_example` boolean
  - `blurred` boolean
  - `deleted_at` string, date-time, nullable
  - `organization` integer, required
  - `project` string, nullable
  - `created_by` integer, nullable

---

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