---
title: "Update document settings"
method: PATCH
path: "/public/v2/documents/{document_id}/settings"
tags: ["Document Settings"]
---

# Update document settings

`PATCH /public/v2/documents/{document_id}/settings`

Updates the settings for a specified document.

## Path parameters

- `document_id` string, required

## Request body

- UpdateDocumentSettingsRequest — Document settings update request.
  - `language` 'en-US' | 'fr-FR' | 'it-IT' | 'es-ES' | 'nl-NL' | 'de-DE' | 'pt-BR' | 'pt-PT' | 'pl-PL' | 'sv-SE' | 'cs-CZ' | 'da-DK' | 'el-GR' | 'hu-HU' | 'nb-NO' | 'ro-RO' | 'bg-BG' — Document language code (e.g., 'en-US', 'fr-FR').
  - `qualified_electronic_signature` boolean — Indicates whether the document requires a Qualified Electronic Signature (QES) during the signing process. If `true`, signers must complete the document using a third-party qualified electronic signature provider according to supported verification rules.
  - `expires_in` integer — Document expiration in days. Minimum is 1 day.
  - `suggest_edits` boolean — Enables or disables Suggest Edits (redlining) for the document. When `true`, recipients can suggest edits to the document content. Can only be changed while the document is in `draft` status.

## Response `200`

Successfully updated document settings.

- DocumentSettingsResponse — Document settings response.
  - `language` 'en-US' | 'fr-FR' | 'it-IT' | 'es-ES' | 'nl-NL' | 'de-DE' | 'pt-BR' | 'pt-PT' | 'pl-PL' | 'sv-SE' | 'cs-CZ' | 'da-DK' | 'el-GR' | 'hu-HU' | 'nb-NO' | 'ro-RO' | 'bg-BG', required — Document language code (e.g., 'en-US', 'fr-FR').
  - `qualified_electronic_signature` boolean, required — Indicates whether the document requires a Qualified Electronic Signature (QES) during the signing process. If `true`, signers must complete the document using a third-party qualified electronic signature provider according to supported verification rules.
  - `expires_in` integer, required — Document expiration in days. If not explicitly set, defaults to the system default expiration.
  - `suggest_edits` boolean, required — Indicates whether Suggest Edits (redlining) is enabled for the document. When `true`, recipients can suggest edits to the document content during the signing process.

---

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