---
title: "Update document file content"
method: PUT
path: "/api/v0/documents/{document_id}/file"
tags: ["Documents"]
---

# Update document file content

`PUT /api/v0/documents/{document_id}/file`

Updates an existing document's file content and reprocesses it.

## Path parameters

- `document_id` string, uuid, required

## Response `200`

Successful Response

- DocumentPostResponse
  - `job_status_id` string, uuid, required — The ID of the job status.
  - `status` string, required — The status of the job. Options: `pending`, `done`, `error`.
  - `error_message` string, nullable, required — The error message if the job failed.
  - `document_id` string, uuid, nullable, required — The ID of the document that was uploaded.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/outerport/apis/outerport-api.md) · [All operations](https://skmtc.dev/outerport/apis/outerport-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/outerport/outerport-api/revisions/f565b46daaea/schema)
