---
title: "Update a charge legal document"
method: PUT
path: "/leases/{lease_id}/charges/documents/{doc_id}"
tags: ["Leases"]
---

# Update a charge legal document

`PUT /leases/{lease_id}/charges/documents/{doc_id}`

## Request

- Base URL: `https://api.faireplace.com/api`
- URL: `https://api.faireplace.com/api/leases/{lease_id}/charges/documents/{doc_id}`
- Auth: HTTP bearer

Update an existing legal document

## Path parameters

- `lease_id` string, uuid, required
- `doc_id` string, uuid, required

## Request body

- object
  - `document_type` string: Type of the legal document
  - `title` string: Document title
  - `description` string, nullable: Document description
  - `file_url` string, uri: URL to the document file

## Response `200`

Legal document updated successfully

- object
  - `id` string, uuid
  - `lease_id` string, uuid
  - `document_type` string
  - `title` string
  - `description` string, nullable
  - `file_url` string, uri
  - `uploaded_at` string, date-time

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/faireplace/apis/faireplace-property-management-api.md) · [All operations](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/revisions/69de39762919?raw)
