---
title: "Api Response Format Presets Partial Update"
method: PATCH
path: "/api/response-format-presets/{id}/"
tags: ["platformApi"]
---

# Api Response Format Presets Partial Update

`PATCH /api/response-format-presets/{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` string, required

## Headers

- `Authorization` string, required

## Request body

- PatchedResponseFormatPresetUpdateRequest — Write serializer for partial saved response-format preset updates.
  - `name` string
  - `response_format_content` string
  - `is_enforcing_response_format` boolean

## Response `200`

- ResponseFormatPresetUpdate — Write serializer for partial saved response-format preset updates.
  - `id` string, required
  - `name` string, required
  - `response_format_content` string, required
  - `is_enforcing_response_format` boolean
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

---

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