Update document template
Document API
Update Document Template
Update an existing document template with partial attributes. Only provided fields will be updated.
Updatable Fields:
- name: Template name (must be unique)
- description: Template description
- extraction_config: Extraction settings including JSON schema
- fraud_config: Fraud detection settings, including optional
requires_digital_signaturefor documents that must contain a signature
Validation Schema Convention:
- Date-based validation should be stored on boolean fields (not on date fields)
- Boolean validation fields use
beltic:validationwithkind,field_ref, and rule parameters field_refis scope-relative and must reference a sibling date field name
Notes:
- The template ID in the request body must match the path parameter
- Omitted fields will retain their current values
- Template status cannot be changed after creation
PATCH
Update document template
Authorizations
API key for authentication. Access https://console.beltic.com/ to obtain your API key.
Path Parameters
Template unique identifier
Example:
"123e4567-e89b-12d3-a456-426614174000"
Body
application/json
Response
Template updated successfully