---
title: "Files Partial Update 2"
method: PATCH
path: "/agents/files/{file_id}/"
tags: ["agents"]
---

# Files Partial Update 2

`PATCH /agents/files/{file_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

- `file_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

No response body

- AgentsFilesPartialUpdate2Response200 — Empty response body

---

[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/revisions/c26d550029f8/schema)
